SSH Server is not responding

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
hjorturb
Posts: 6
Joined: Fri 15 Jan 2010 17:02

SSH Server is not responding

Post by hjorturb » Fri 15 Jan 2010 17:08

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.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 18 Jan 2010 08:01

To solve the problem try to increase the values of the TScSSHClient.Timeout property and the TScSFTPClient.Timeout property.

hjorturb
Posts: 6
Joined: Fri 15 Jan 2010 17:02

Post by hjorturb » Mon 18 Jan 2010 13:03

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

hjorturb
Posts: 6
Joined: Fri 15 Jan 2010 17:02

Post by hjorturb » Mon 18 Jan 2010 15:27

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.

hjorturb
Posts: 6
Joined: Fri 15 Jan 2010 17:02

Post by hjorturb » Mon 18 Jan 2010 17:23

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?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 19 Jan 2010 08:12

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?

Post Reply