瀏覽代碼

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 年之前
父節點
當前提交
4d8497271f
共有 1 個文件被更改,包括 4 次插入0 次删除
  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}}`