Skip to main content

Module ssh

Module ssh 

Source
Expand description

OpenSSH session helpers (ssh, scp, ssh-copy-id).

Structsยง

SshEnv
Environment overrides for Desktop askpass (and related OpenSSH knobs).
SshSession
SSH destination plus askpass policy.

Functionsยง

default_identity_pubkey ๐Ÿ”’
First existing default OpenSSH public key under $HOME/.ssh.
identity_private_key ๐Ÿ”’
Private key path next to a .pub file (id_ed25519.pub โ†’ id_ed25519).
remote_install_key_banner
Operator banner before ssh-copy-id (pubkey path included).
require_ok ๐Ÿ”’