This shows you the differences between two versions of the page.
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:// | Originally taken from http:// | ||
- | <source lang="bash"> | + | <code bash> |
ssh-keygen -f < | ssh-keygen -f < | ||
- | </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. |