This project is read-only.

SSH Newb

Oct 27, 2011 at 11:13 PM

I wrote a really simple test app using the SshClient Class to try to connect to a remote ssh2 server. I keep getting timeouts connecting and Im not being blocked by my firewall. Is there something you can suggest to get me jumpstated? I really have no way to get a quick response from the group at the company we are trying to connect to. Im basically trying to find out if the issue is me not doing something right in the code or if the problem is indeed the server Im connecting to.

I used the following simple code to attempt to connect.

SshClient ssh = new SshClient("host", 22, "user", "pass");           



It goes in to Connect and then I get a timeout, from what I can tell it appears to bomb while waiting for service accepted in the Session.Connect() method. 

This is my first adventure in SFTP and I'm probably just missing something here.

Any help is greatly appreciated.

Nov 4, 2011 at 2:09 PM

Try the latest changset from the Source tab, there is a Download link on the right side.

Please let us know if your problem persists.