Skip to content

SshConnector

[Source]

Entry point for client code: opens an outbound SSH session.

primitive val SshConnector

Constructors

create

[Source]

new val create()
: SshConnector val^

Returns


Public Functions

connect

[Source]

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

Returns


eq

[Source]

fun box eq(
  that: SshConnector val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: SshConnector val)
: Bool val

Parameters

Returns