Client - Connect[C] void __cdecl FlowSshC_Client_Connect(
[C++] [Client] void Connect(RefPtr<ProgressHandler> const& progress); [C#] [Client] public void Connect(ProgressHandler progress); Parameters
Remarks Establishes an encrypted connection with the SSH server. Besides the progress handler, several other handlers might be invoked while the connection is being established. You should always register/implement at least the [Client]OnHostKey handler - without it, server (host-key) verification fails, and the connection is aborted. Usually, you will also want to implement an OnBanner, OnPasswordChange*, OnFurtherAuth*, or an OnSshVersion handler. Connect will fail through its progress handler:
* In [C] the equivalent for OnPasswordChange and OnFurtherAuth is a user-auth handler, registered with SetUserAuthHandler. |