From 526be7a337343f81594413eb0b095fd572f85d45 Mon Sep 17 00:00:00 2001 From: Alexis Ben Miloud--Josselin Date: Mon, 11 Mar 2024 14:39:41 +0100 Subject: [PATCH] HowtoOpenSSH: Ajouter changement passphrase --- HowtoOpenSSH.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/HowtoOpenSSH.md b/HowtoOpenSSH.md index 5c5eb829..23db6c7b 100644 --- a/HowtoOpenSSH.md +++ b/HowtoOpenSSH.md @@ -569,6 +569,14 @@ Enter passphrase for /home/jdoe/.ssh/id_ed25519: Enfin, il existe d'autres implémentations d'agent SSH, comme le `gpg-agent` qui permet notamment l'utilisation de token USB pour sécuriser ses clés (Voir [HowtoGPG](HowtoGPG#agent-gpg)). +### Changer _passphrase_ + +[L'option `-p`](https://manpages.debian.org/bookworm/openssh-client/ssh-keygen.1.en.html#p) de la commande `ssh-keygen` permet de changer la _passphrase_ d'une clé. + +~~~ +$ ssh-keygen -p -a 100 -f +~~~ + ## Tunnel SSH