Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I think I've forgotten my RSA passphrase again.

Is there a way to have my local command line prompt me for it so I can check if I at least what I remember it as is correct, so I don't needlessly change it?

Next time I'm writing it on a post-it ;)

share|improve this question

migrated from stackoverflow.com Jun 8 '10 at 9:55

This question came from our site for professional and enthusiast programmers.

    
How are you using the RSA key - SSH login? Web server certificates? –  Douglas Leeder Jun 7 '10 at 8:51
    
github and ssh login –  joachim Jun 7 '10 at 12:37

1 Answer 1

Try ssh-keygen -p:

-p      Requests changing the passphrase of a private key file instead of
        creating a new private key.  The program will prompt for the file
        containing the private key, for the old passphrase, and twice for
        the new passphrase.
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.