Menu

Can't connect (but can with another product)

Help
gfrizzle
2009-05-26
2013-05-28
  • gfrizzle

    gfrizzle - 2009-05-26

    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?

     
  • Anonymous

    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

     

Log in to post a comment.

MongoDB Logo MongoDB