SshServerNotify
[Source]
interface ref SshServerNotify
Public Behaviours
ssh_session_started
[Source]
be ssh_session_started(
session: SshSession tag)
Parameters
ssh_session_ready
[Source]
be ssh_session_ready(
session: SshSession tag)
Parameters
ssh_channel_open_request
[Source]
be ssh_channel_open_request(
session: SshSession tag,
channel_id: U32 val,
channel_type: String val)
Parameters
ssh_pty_request
[Source]
be ssh_pty_request(
session: SshSession tag,
channel_id: U32 val,
pty: SshPtyState val,
want_reply: Bool val)
Parameters
ssh_shell_request
[Source]
be ssh_shell_request(
session: SshSession tag,
channel_id: U32 val,
want_reply: Bool val)
Parameters
ssh_window_change
[Source]
be ssh_window_change(
session: SshSession tag,
channel_id: U32 val,
width_chars: U32 val,
height_rows: U32 val,
width_pixels: U32 val,
height_pixels: U32 val)
Parameters
- session: SshSession tag
- channel_id: U32 val
- width_chars: U32 val
- height_rows: U32 val
- width_pixels: U32 val
- height_pixels: U32 val
ssh_channel_request
[Source]
be ssh_channel_request(
session: SshSession tag,
channel_id: U32 val,
request_type: String val,
want_reply: Bool val)
Parameters
ssh_channel_data
[Source]
be ssh_channel_data(
session: SshSession tag,
channel_id: U32 val,
data: Array[U8 val] val)
Parameters
ssh_channel_error
[Source]
be ssh_channel_error(
session: SshSession tag,
channel_id: U32 val,
err: SshChannelError val)
Parameters
ssh_channel_closed
[Source]
be ssh_channel_closed(
session: SshSession tag,
channel_id: U32 val)
Parameters
ssh_error
[Source]
be ssh_error(
session: SshSession tag,
err: SshTransportError val)
Parameters
ssh_disconnected
[Source]
be ssh_disconnected(
session: SshSession tag)
Parameters
ssh_auth_request
[Source]
be ssh_auth_request(
session: SshSession tag,
request: SshAuthRequest val)
Parameters
Public Functions
get_pty
[Source]
fun box get_pty()
: SshPtyState val
Returns
set_pty
[Source]
fun ref set_pty(
pty: SshPtyState val)
: None val
Parameters
Returns
ssh_shell_appstart
[Source]
fun ref ssh_shell_appstart(
session: SshSession tag,
channel_id: U32 val)
: None val
Parameters
Returns
validate_password
[Source]
fun box validate_password(
username: String val,
password: String val)
: Bool val
Parameters
Returns
validate_publickey
[Source]
fun box validate_publickey(
username: String val,
pk: SshAuthPublicKeyData val)
: Bool val
Parameters
Returns