Skip to content

SshClientConfig

[Source]

Immutable configuration for an outbound client session: the host and port to connect to, the username, the authentication methods to try in order, and the algorithm preferences (defaulting to the implemented set).

class val SshClientConfig

Constructors

create

[Source]

new val create(
  host': String val,
  port': String val,
  username': String val = "",
  auth_methods': Array[SshAuthMethod val] val = recover val Array[SshAuthMethod val] end,
  algorithms': SshAlgorithmPreferences val = SshDefaultAlgorithms.preferences())
: SshClientConfig val^

Parameters

Returns


Public fields

let host: String val

[Source]


let port: String val

[Source]


let username: String val

[Source]


let auth_methods: Array[SshAuthMethod val] val

[Source]


let algorithms: SshAlgorithmPreferences val

[Source]