User Tools

Site Tools


openssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

openssh [2014/11/24 01:14]
0.0.0.0 created
openssh [2014/11/24 02:09] (current)
ben
Line 5: Line 5:
 Originally taken from http://www.cyberciti.biz/faq/howto-ssh-changing-passphrase/#comment-37419. Originally taken from http://www.cyberciti.biz/faq/howto-ssh-changing-passphrase/#comment-37419.
  
-<source lang="bash">+<code bash>
 ssh-keygen -f <filename> -p ssh-keygen -f <filename> -p
-</source>+</code>
  
 This will prompt you for the original passphrase (if set), display the key's comment, then ask you to set a new passphrase. You can leave the new passphrase blank to remove the key encryption. This operation changes the key on the file in-place, so make a duplicate of the key file beforehand if you want to keep the original copy. This will prompt you for the original passphrase (if set), display the key's comment, then ask you to set a new passphrase. You can leave the new passphrase blank to remove the key encryption. This operation changes the key on the file in-place, so make a duplicate of the key file beforehand if you want to keep the original copy.
openssh.txt · Last modified: 2014/11/24 02:09 by ben