ssh-keygen -t ed25519 -a 256
ssh-copy-id -i ~/.ssh/id_ed25519.pub -p <port> vlp@00011100.org
Pré-requis : disposer d'une sous-clé d'authentification.
enable-ssh-support
gpg2 -K --with-keygrip
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) gpgconf --launch gpg-agent
Exécuter ces commandes dans le shell courant pour un effet immédiat.
ssh-copy-id -p <port> 00011100.org
ssh-add -L
Dans `.zshrc` :
export GPG_TTY=$(tty) gpg-connect-agent updatestartuptty /bye >/dev/null
ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no -p <port> <IP>