User Tools

Site Tools


Your (re)login has failed.
openssh

This is an old revision of the document!


Openssh

Tips and tricks

Changing or removing a key passphrase

Originally taken from http://www.cyberciti.biz/faq/howto-ssh-changing-passphrase/#comment-37419.

<source lang=“bash”> ssh-keygen -f <filename> -p </source>

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.1416791659.txt.gz · Last modified: 2014/11/24 01:14 by 0.0.0.0