Unable to transfer the scheduled report to remote location using SSH mechanism hosted on RHEL 9.x version, error observed in taskRun log:
250519 10:22:37 : Caused by: java.io.IOException: There was a problem while connecting to #.#.#.#:22250519 10:22:37 : at com.trilead.ssh2.Connection.connect(Connection.java:791)250519 10:22:37 : at com.trilead.ssh2.Connection.connect(Connection.java:563)250519 10:22:37 : at com.watch4net.apg.v2.plugins.virtualFileSystem.providers.ssh.SSHFileSystem.createFile(SSHFileSystem.java:62)250519 10:22:37 : at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:296)250519 10:22:37 : ... 29 more250519 10:22:37 : Caused by: java.io.IOException: Key exchange was not finished, connection is closed.250519 10:22:37 : at com.trilead.ssh2.transport.KexManager.getOrWaitForConnectionInfo(KexManager.java:92)250519 10:22:37 : at com.trilead.ssh2.transport.TransportManager.getConnectionInfo(TransportManager.java:230)250519 10:22:37 : at com.trilead.ssh2.Connection.connect(Connection.java:743)250519 10:22:37 : ... 32 more250519 10:22:37 : Caused by: java.io.IOException: Cannot negotiate, proposals do not match.250519 10:22:37 : at com.trilead.ssh2.transport.KexManager.handleMessage(KexManager.java:413)250519 10:22:37 : at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:754)250519 10:22:37 : at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:469)250519 10:22:37 : at java.lang.Thread.run(Thread.java:750)
M&R / Watch4net - 7.x
Remote server restricting the algorithms used for remote connection due to change in Default crypto policies introduced in RHEL 9.x version.
While user to wait for permanent fix which is planned for future MnR release, either of the following workarounds help to fix the reported issue.
sudo update-crypto-policies --set LEGACY
update-crypto-policies --show
ftp://root@<Host_IP>/opt/myreports/
Support for new MAC and KEX algorithms expected by RHEL 9.x would be introduced in future MnR release and is tentatively planned on Sept 2025.