14
10
I forgot the password to my ssh. I am planning to remove the files (id_rsa, id_rsa.pub and known_hosts) in the directory and starting from scratch. I haven't been using ssh since the whole heartbleed thing and I've cleared out the stuff in the keys before but I think I did it wrong.
My question is how do I recreate the files properly and set up ssh to stop asking me for passwords when I'm connecting to git or other things?
3(already marked as dup. so can't answer properly) OS X may well have stored your passphrase in your keychain so you don't have to enter it each time you connect to a server. Open Keychain Access, search for "id_rsa" and you should get a result with "SSH:/Users/yourname/.ssh/id_rsa" (your private key) with "Kind" listed as "Application password". You can do Edit > Copy password to clipboard to get it back. You'll be asked for your "login keychain password" – which is just the one you use to login to the Mac's user account. To change passphrase:
cd ~/.sshandssh-keygen -f id_rsa -p– William Turrell – 2016-03-03T08:21:16.773By the way, read "Does Heartbleed affect ssh keys?".
– Cristian Ciupitu – 2014-05-31T02:10:26.390