Page 1 of 1
SSH Server is not responding
Posted: Fri 15 Jan 2010 17:08
by hjorturb
I just downloaded the DevArt SecureBridge components to test for one of my projects and just trying the sFTP client demo for one connection.
When I try to connect I randomly get "SSH Server is not responding", but if I use sFTP programs (Core FTP) I can connect right away with my credentials (user / password). If I disconnect the Core FTP and try the demo again I get the error again.
Randomly I get a connection which is working and I can fetch info and documents.
Any idea or known issues?
Best regards,
Hjortur
Iceland.
Posted: Mon 18 Jan 2010 08:01
by Dimon
To solve the problem try to increase the values of the TScSSHClient.Timeout property and the TScSFTPClient.Timeout property.
Posted: Mon 18 Jan 2010 13:03
by hjorturb
Thank you for the reply. I've increased the timeout but this error does happens right after I try to connect so this should not be a timeout.
Any other idea?
Best regards, Hjortur
Posted: Mon 18 Jan 2010 15:27
by hjorturb
When I try to connect on design time (in the Delphi IDE), configure the hostname, user, password then I set the connected to true I don't get any error and it connects correctly.
But on run time I almost always get "SSH Server is not responding" with random acceptions where I get a connection and can connect on sFTP.
Any ideas or suggestions would be fantastic.
Posted: Mon 18 Jan 2010 17:23
by hjorturb
When I move this test application to another machine (connected to Local connection with Proxy) than the dev machine (which has 1 local connection with proxy connection and 1 wireless connection without proxy connection) I do get a successful connection.
I don't see any settings regarding Proxy or other connection settings. Is that queried from the IE settings or is there some problems if you have 2 network connections?
Posted: Tue 19 Jan 2010 08:12
by Dimon
It seems, that on your developer's machine connection is established via wireless. TScSSHClient does not use any set of proxy connection, including the one from IE.
Do you connect to local host on both machines?