Browse Source

ssh-keygen: change passphrase for ssh-key

- add info for changing password of an existing ssh-key

Signed-off-by: Andreas Gerler <baron@bundesbrandschatzamt.de>
Andreas Gerler 8 years ago
parent
commit
4d8497271f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/common/ssh-keygen.md

+ 4 - 0
pages/common/ssh-keygen.md

@@ -21,3 +21,7 @@
 - Retrieve the key fingerprint from a host (useful for confirming the authenticity of the host when first connecting to it via SSH):
 
 `ssh-keygen -l -F {{remote_host}}`
+
+- Change the password of a key:
+
+`ssh-keygen -p -f ~/.ssh/{{filename}}`