In the following exception:
Rebex.Net.SftpException: The connection was closed by the server. Make sure you are connecting to an SSH or SFTP server.
Is the second sentence a hint or does it indicate that the attempted protocol was wrong? (i.e. FTP vs SFTP) I had a case where this error appeared a few times after switching to Rebex from another SFTP provider, on a task that has been running without error for many months. I was going to just chalk it up to network issues but wanted to make sure since the error seems to imply something else. Thanks.
The rest of the stack trace is:
at Rebex.Net.SshSession.HS()
at Rebex.Net.SshSession.Negotiate()
at Rebex.Net.Sftp.QEB.IS(EEB A)
at Rebex.Net.Sftp.SL(String A, Int32 B, SshParameters C, EEB D)
--- End of inner exception stack trace ---
at Rebex.Net.Sftp.SL(String A, Int32 B, SshParameters C, EEB D)
at Rebex.Net.Sftp.RL(String A, Int32 B, SshParameters C)
at Rebex.Net.Sftp.Connect(String serverName)