Archived Forum Post

Index of archived forum posts


SFTP: Meaning of "Must first connect to SSH server" Error?

May 17 '13 at 13:06

What is the meaning of this error?

    DllDate: Aug  3 2011
    Architecture: Little Endian; 32-bit
    Language: Visual C++ 9.0
    SftpVersion: 3
    Must first connect to the SSH server.


The "Must first connect to the SSH server" message means that there is no connection established between your app (the client) and the SSH server. It means one of three things:

1) The connection was never established.


2) (more likely) The connection was established, your app authenticated and all was OK, but at some point some Chilkat method call failed, the connection was lost, and your app never logged or noticed the error. It then continued on as if it had a connection, and then failed on the next call where a connection is obviously needed.


3) The same as #2, but instead of a failure that was not noticed, the app explicitly closed the connection, and this was not noticed.

PS> I would recommend updating to the latest version because you're using a version that is quite old.