Skip to main content

Module ssh_key

Module ssh_key 

Source
Expand description

SSH-key-domain natives. Wraps server::command::{ListSshKeys, RemoveSshKey, UserHasSshKey, LookupUserBySshKey}. AddSshKey is deliberately NOT exposed: pubkey upload stays on the dedicated ssh-copy-id exec flow so the eval channel can never be used to register impersonation keys.

v1 binds list-ssh-keys for the authenticated session user. The other three (remove / user-has / lookup) take string arguments and ride the follow-up slice that lands the host-side StringRef-arg plumbing.

Constants§

REGISTERED_COMMANDS

Functions§

register