- Open PuTTY on my Windows desktop.
- SSH into my MacBook Pro.
- cd to a github clone
$ git push
Enter passphrase for key '/Users/whit537/.ssh/github':
- The github key is listed in Keychain Access.
- I can show its passphrase in Keychain Access.
- I can use this passphrase successfully at the prompt in PuTTY.
- I get the expected result at a Terminal window on the MacBook.
uname -a: Darwin chad.whitacre 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386
2011-04-12: I discovered the
security tool via a question in the Related sidebar (didn't notice it in the list of possible answers when posting). I tried running
security unlock-keychain but I get the same result. It seems as though there should be some way to do this. There are two keys in question, actually, and these are long passphrases, not short passwords, and I need them frequently during the day. So I have some incentive to get to the bottom of this.
2011-04-13: This sounds promising. I see the
/tmp/launch-*****/Listeners file on the MacBook. Next time I am on the PC I'll try setting
SSH_AUTH_SOCK in my PuTTY session. If that works once I'll see about a
.profile hook to discover the current launch session automatically.