Shirk::Server
Constructors
new(host : String, port : Int32, host_key : String, username : String = "", password : String = "", kex_algorithms : String = "ml-kem-768-sha256-x25519-sha256@libssh.org:sntrup761x25519-sha512@openssh.com:curve25519-sha256@libssh.org:ecdh-sha2-nistp256:ecdh-sha2-nistp384:ecdh-sha2-nistp521:diffie-hellman-group16-sha512:diffie-hellman-group18-sha512:diffie-hellman-group14-sha256")
SourceInstance methods
auth_pubkey_handler
Sourceexec_handler
Sourcehost
Sourcehost_key
Sourcekex_algorithms
Sourceon_auth_password
Set password authentication handler Block receives (user, password) and should return true to accept
on_auth_pubkey
Set public key authentication handler Block receives (user, fingerprint) and should return true to accept
on_shell
Set shell request handler Block receives ExecContext (with empty command) and should return exit code
password
Sourceport
Sourceshell_handler
Sourceusername
Source