Leopard, SSH-agent, and a macports gotcha
May 19th, 2008
So you're using ssh keys for all your servers and github and whatnot, and you've been using SSHKeychain in OS X 10.4, to manage that, and not type your password in all the time (SSHKeychain is a gui for ssh-agent).
Now that you're on Leopard, this all Just Works. No need for SSHKeychain (although SSHKeychain does other things too), and everything is nicely integrated with Mac OS keychain services. There's a nice write up over here at Ormset i Noreg. Buried in the comments, Luke Redpath notes that macports users might not be seeing this coolness, as OpenSSL is a dependency of some common ports (like git), and so the macport's ssh is not compiled with the leopard funkiness.
To fix this (assuming a standard macports install):
sudo mv /opt/local/bin/ssh /opt/local/bin/ssh-macports sudo mv /opt/local/bin/scp /opt/local/bin/scp-macports
Now, when you next push to github, or deploy to a server, you'll get something like this:
Hooray!
Leave a Reply