Client - Connect
[ClientBase] public void Connect(ProgressHandler progress);
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.