|
Dear Sir, I am using the Rebex Sample, WinFormClient_VB, to try in establishing an SFTP connection to a Tumbleweed SFTP Server, and I faced the error message of: 'Info Info: Connecting to 10.14.19.241:22 using Sftp 2.0.3793.0. Error SSH: Rebex.Net.SshException: Timeout exceeded while waiting for welcome message. Make sure you are connecting to an SSH or SFTP server. at Rebex.Net.SshSession.bOtYJuZ() at Rebex.Net.SshSession.Negotiate() Error Info: Rebex.Net.SshException: Timeout exceeded while waiting for welcome message. Make sure you are connecting to an SSH or SFTP server. at Rebex.Net.SshSession.bOtYJuZ() at Rebex.Net.SshSession.Negotiate() at Rebex.Net.Sftp.Connect(String serverName, Int32 serverPort, SshParameters parameters)' Line information in MainForm.vb is 842 in the method of _sftp.BeginConnect However by using the WinSCP, we are able to conduct a full test to the server and in responded by my network team, there were missing hanshake between the Server & Client. Kindly refer to the attached images for comparison between Rebex Connection FTP Client Connection Hope to hear for a favourable response, thank you. |
|
From the attached images, it looks like Rebex SFTP did send the initial handshake message ("SSH-2.0-RebexSSH_2.0.3793.0\r"), but the server failed to send its initial message for some unknown reason. On the other hand, with WinSCP, the server was able to send its initial message ("SSH-2.0-SSHD\r" even sooner than it received the initial message from WinSCP. We are not really sure what is going on yet. I sent you a link to the current build of Rebex SFTP with slightly changed handshake behavior, please give it a try. Does it make any difference? Please note that you can install this to a different folder if you don't wish to overwrite your current 2.0.3793.0 installation. Edit: Build 4060 (and later) has a workaround for this that has to be explicitly enabled before connecting to the server: C#:
VB.NET:
Thank you for the promptly response, the entire situation resolved after the patches and glad to have the full support from REBEX.
(16 Dec '10, 01:12)
David
|