When I run ssh-keygen
and press return instead of inputting a password then I can add the key with ssh-add ~/.ssh/id_rsa.pub
. I am prompted to enter the passphre for ~/.ssh/id_rsa.pub
. I simply press enter and all is well.
However - when I do input a password at ssh-keygen
stage, and then reenter the same password at ssh-add
stage it fails with bad passphrase, try again
Am I missing something?
env | grep LANG
gives you ?