Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Awa.Server
Sourcetype pubkeyauth = {
pubkey : Hostkey.pub;
session_id : string;
service : string;
sig_alg : Hostkey.alg;
signed : string;
}
type event =
| Channel_exec of int32 * string
| Channel_subsystem of int32 * string
| Channel_data of int32 * Cstruct.t
| Channel_eof of int32
| Disconnected of string
| Userauth of string * userauth
| Pty of string * int32 * int32 * int32 * int32 * string
| Pty_set of int32 * int32 * int32 * int32
| Set_env of string * string
| Start_shell of int32
type 'authie t = {
client_version : string option;
server_version : string;
client_kexinit : Ssh.kexinit option;
server_kexinit : Ssh.kexinit;
neg_kex : Kex.negotiation option;
ext_info : bool;
host_key : Hostkey.priv;
session_id : string option;
keys_ctos : Kex.keys;
keys_stoc : Kex.keys;
new_keys_ctos : Kex.keys option;
new_keys_stoc : Kex.keys option;
keying : bool;
key_eol : Mtime.t option;
expect : Ssh.message_id option;
auth_state : 'authie auth_state;
channels : Channel.db;
ignore_next_packet : bool;
dh_group : (Mirage_crypto_pk.Dh.group * int32 * int32 * int32) option;
}
val make_disconnect :
'a ->
Ssh.disconnect_code ->
string ->
('a * Ssh.message list * event option, 'b) result
val input_userauth_request :
'a t ->
string ->
string ->
Ssh.auth_method ->
('a t * Ssh.message list * event option, string) result
val input_channel_open :
'a t ->
int32 ->
int32 ->
int32 ->
Ssh.channel_open ->
('a t * Ssh.message list * 'b option, 'c) result
val input_channel_request :
'a t ->
Channel.Channel_map.key ->
bool ->
Ssh.channel_request ->
('a t * Ssh.message list * event option, 'b) result
val input_msg :
'a t ->
Ssh.message ->
Mtime.t ->
('a t * Ssh.message list * event option, string) result
val output_channel_data :
'a t ->
Channel.Channel_map.key ->
Cstruct.t ->
('a t * Ssh.message list, string) result