Skip to content

SshSession

[Source]

actor tag SshSession

Constructors

create_client

[Source]

new tag create_client(
  auth: TCPConnectAuth val,
  config: SshClientConfig val,
  notify: SshClientNotify tag)
: SshSession tag^

Parameters

Returns


create_server

[Source]

new tag create_server(
  config: SshServerConfig val,
  notify: SshServerNotify tag)
: SshSession tag^

Parameters

Returns


Public Behaviours

set_server_bridge

[Source]

be set_server_bridge(
  bridge: SshServerTcpBridge tag)

Parameters


open_channel

[Source]

be open_channel(
  channel_type: String val = "session")

Parameters

  • channel_type: String val = "session"

channel_send

[Source]

be channel_send(
  channel_id: U32 val,
  data: Array[U8 val] val)

Parameters


channel_close

[Source]

be channel_close(
  channel_id: U32 val)

Parameters

  • channel_id: U32 val

accept_host_key

[Source]

be accept_host_key()

reject_host_key

[Source]

be reject_host_key()

disconnect

[Source]

Clean disconnect initiated by consumer.

be disconnect(
  msg: String val = "")

Parameters


auth_accept

[Source]

be auth_accept()

auth_pk_ok

[Source]

be auth_pk_ok(
  algorithm: String val,
  public_key: Array[U8 val] val)

Parameters


auth_reject

[Source]

be auth_reject(
  remaining: Array[String val] val)

Parameters


accept_channel

[Source]

be accept_channel(
  channel_id: U32 val)

Parameters

  • channel_id: U32 val

reject_channel

[Source]

be reject_channel(
  channel_id: U32 val,
  reason: U32 val)

Parameters

  • channel_id: U32 val
  • reason: U32 val

accept_request

[Source]

be accept_request(
  channel_id: U32 val)

Parameters

  • channel_id: U32 val

reject_request

[Source]

be reject_request(
  channel_id: U32 val)

Parameters

  • channel_id: U32 val