Take the tour ×  I generated an OpenSSH private key using
puttygen (and exported it in OpenSSH format). How can I put a
password on this existing key (I know how to generate a new key
with a password)?   share|improve this question If you see this
comment, please mark one of the answers as accepted or write a
comment saying what they missed. Thanks! –  Ben Atkin Nov 18 '11
at 22:26 add comment  2 Answers  Try the command ssh-keygen -p
-f keyfile  From the ssh-keygen man page           the new
passphrase. share|improve this answer add comment  Use the -p
option to ssh-keygen. This allows you to change the password
rather than generate a new key.  share|improve this answer add
comment  Your Answer