SshClientConfig¶
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).
Constructors¶
create¶
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¶
- 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()
Returns¶
- SshClientConfig val^