Skip to content

MakeSshServerConfig

[Source]

Load server host key PEM and check the channel receive window.

primitive val MakeSshServerConfig

Constructors

create

[Source]

new val create()
: MakeSshServerConfig val^

Returns


Public Functions

apply

[Source]

An invalid host key takes precedence when both inputs are invalid.

fun box apply(
  host_key_pem': Array[U8 val] val,
  listen_host': String val = "127.0.0.1",
  listen_port': String val = "22",
  algorithms': SshAlgorithmPreferences val = SshDefaultAlgorithms.preferences(),
  channel_window': U32 val = SshChannelWindow.initial())
: (SshServerConfig val | SshServerConfigError)

Parameters

  • host_key_pem': Array[U8 val] val
  • listen_host': String val = "127.0.0.1"
  • listen_port': String val = "22"
  • algorithms': SshAlgorithmPreferences val = SshDefaultAlgorithms.preferences()
  • channel_window': U32 val = SshChannelWindow.initial()

Returns


eq

[Source]

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

Parameters

Returns


ne

[Source]

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

Parameters

Returns