SEVERE *** ERROR *** Exception from SSH: java.io.IOException; SCP returned an unexpected error: rror connecting to the server
Steps to reproduce
01) Add MID server parameter mid.ssh.debug and set value to true.
02) Then run discovery on the Linux server.
You will see below errors from the mid server logs.
02/05/19 22:14:30 (248) Worker-Interactive:MultiProbe-5088248c1ba32f846ca087386e4bcb0a SSH DEBUG: Opened channel 0
02/05/19 22:14:30 (654) Worker-Interactive:MultiProbe-5088248c1ba32f846ca087386e4bcb0a SEVERE *** ERROR *** Exception from SSH: java.io.IOException; SCP returned an unexpected error: rror connecting to the server
java.io.IOException: SCP returned an unexpected error: rror connecting to the server
This is because of MID Server using the older version of SSH called j2ssh and thus error has been not encountered. You can refer to the following article about Migration from j2ssh to sncssh.
Error might mean that the set of algorithms the client offers are unacceptable to the server.
Following below mentioned steps can help you get rid of this error.
1. Go to MID Servers.
2. Add property "mid.ssh.use_snc"
3. Set the property to true.