I'm having trouble making a secure FTP connection using SharpSSH. Up to now I've been using the DOS command line app MOVEit Freely to make the connection, and it connects fine:
C:\> ftps -user:ABC -password:123 xxx.xxx.xxx.mil
However, when I try to do the same thing with SharpSSH, I get an error that says either the connection timed out or the server didn't respond correctly:
Dim sftp = New Tamir.SharpSsh.Sftp("xxx.xxx.xxx.mil", "ABC", "123")
sftp.Connect()
or
Dim host = New Tamir.SharpSsh.SshStream("xxx.xxx.xxx.mil", "ABC", "123")
Any idea what I might be doing wrong, or how I could figure out what's failing?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-01-04
Hi! I'm facing a similar problem while connecting to a certain SSH server.
I can't even connect using the SharpSSH examples (for instance the Expect example).
I've successfully tested SharpSSH with other SSH servers.
I'm able to connect to that specific server using PuTTY; when I try with sharp SSH I get a SocketException: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Any idea?
Thanks a lot!
Filippo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having trouble making a secure FTP connection using SharpSSH. Up to now I've been using the DOS command line app MOVEit Freely to make the connection, and it connects fine:
C:\> ftps -user:ABC -password:123 xxx.xxx.xxx.mil
However, when I try to do the same thing with SharpSSH, I get an error that says either the connection timed out or the server didn't respond correctly:
Dim sftp = New Tamir.SharpSsh.Sftp("xxx.xxx.xxx.mil", "ABC", "123")
sftp.Connect()
or
Dim host = New Tamir.SharpSsh.SshStream("xxx.xxx.xxx.mil", "ABC", "123")
Any idea what I might be doing wrong, or how I could figure out what's failing?
Hi! I'm facing a similar problem while connecting to a certain SSH server.
I can't even connect using the SharpSSH examples (for instance the Expect example).
I've successfully tested SharpSSH with other SSH servers.
I'm able to connect to that specific server using PuTTY; when I try with sharp SSH I get a SocketException:
System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Any idea?
Thanks a lot!
Filippo