Skip to content

SshListener

[Source]

Accepts inbound TCP connections on the configured host/port and starts a server SshSession for each, wiring its TCP bridge and notifying the consumer's SshServerNotify. The bind outcome goes to the same notify: ssh_listener_started once accepting, ssh_listener_failed if the bind failed. Call dispose() (inherited) to stop listening.

actor tag SshListener is
  TCPListenerActor[RuntimeBackend ref] tag

Implements


Constructors

create

[Source]

new tag create(
  auth: TCPListenAuth val,
  config: SshServerConfig val,
  notify: SshServerNotify tag)
: SshListener tag^

Parameters

Returns


Public Behaviours

dispose

[Source]

be dispose()