Keychain not storing ssh key passphrase

Hey all,


I'm using ssh via the terminal with a private key that has a passphrase. Everytime I invoke the ssh command, I get a Keychain dialog for the passphrase but it doesn't store the value despite checking the remember checkbox. The keychain dialog keeps propping up. I'm on Lion 10.7.2. Passwords for other apps such as Mail, Safari, etc. are working fine.


Thanks.

Posted on Nov 23, 2011 12:33 PM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on Nov 23, 2011 1:32 PM

Normally, that implies that your target machine doesn't accept stored passwords from the keychain and requires you to resubmit the password. Most financial sites do that. Can't be that difficult to reenter in order to tunnel to the target machine.😉

9 replies
Sort By: 
Question marked as ⚠️ Top-ranking reply

Nov 23, 2011 1:32 PM in response to snanand

Normally, that implies that your target machine doesn't accept stored passwords from the keychain and requires you to resubmit the password. Most financial sites do that. Can't be that difficult to reenter in order to tunnel to the target machine.😉

Reply

Nov 23, 2011 5:30 PM in response to snanand

That's way beyond my ken. Pose that query to the Lion Server forums and see if one of those mavens can provide a work-around. IMO, it's not worth the effort, since you shouldn't be doing that kind of stuff on a routine basis.

Reply

Aug 29, 2012 6:12 AM in response to snanand

I have been having the same issue with 10.6.8 and I could not figure out why. Finally I found this post on Apple Stack Echange and it fixed the issue for me, you need to add the remote public corresponding key i.e. mykey.pub to your local /.ssh directory.


It makes no sense at all but fixed it for me, I have been plagued by this for weeks. I should also note that I tried a brand new clean install of 10.8.1 and had the same issue so that's when I knew something was terribly wrong.

Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Keychain not storing ssh key passphrase

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.