SEVERE *** ERROR *** Exception from SSH: java.io.IOException; SCP returned an unexpected error: rror connecting to the serverDescription<!-- div.margin { padding: 10px 40px 40px 30px; } table.tocTable { border: 1px solid; border-color: #e0e0e0; background-color: #fff; } .title { color: #d1232b; font-weight: normal; font-size: 28px; } h1 { color: #d1232b; font-weight: normal; font-size: 21px; margin-bottom: 5px; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #cccccc; } h2 { color: #646464; font-weight: bold; font-size: 18px; } h3 { color: #000000; font-weight: bold; font-size: 16px; } h4 { color: #666666; font-weight: bold; font-size: 15px; } h5 { color: #000000; font-weight: bold; font-size: 13px; } h6 { color: #000000; font-weight: bold; font-size:14px; } ul, ol { margin-left: 0; list-style-position: outside; } --> Symptoms 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 at com.sshtools.j2ssh.ScpClient$ScpChannel.waitForResponse(ScpClient.java:590) at com.sshtools.j2ssh.ScpClient$ScpChannel.access$000(ScpClient.java:321) at com.sshtools.j2ssh.ScpClient.put(ScpClient.java:197) Cause 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. https://community.servicenow.com/community?id=community_question&sys_id=04ec0b29db9cdbc01dcaf3231f9619eb . Error might mean that the set of algorithms the client offers are unacceptable to the server. Resolution 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.