SshConnector¶
Entry point for client code: opens an outbound SSH session.
Constructors¶
create¶
Returns¶
- SshConnector val^
Public Functions¶
connect¶
Connect to the server in config, driving the session through notify.
Returns the session tag so the caller can issue commands once it is ready.
fun box connect(
auth: TCPConnectAuth val,
config: SshClientConfig val,
notify: SshClientNotify tag)
: SshSession tag
Parameters¶
- auth: TCPConnectAuth val
- config: SshClientConfig val
- notify: SshClientNotify tag
Returns¶
- SshSession tag
eq¶
Parameters¶
- that: SshConnector val
Returns¶
- Bool val
ne¶
Parameters¶
- that: SshConnector val
Returns¶
- Bool val