Capistrano SSHAgent Error
Posted on September 8th, 2007 by ChrisSmall Capistrano tidbit. If you see the following error when running cap deploy (or setup for that matter):
(Errno::ENOENT: No such file or directory - /tmp/501/SSHKeychain.socket), try using the following command: unset SSH_AUTH_SOCK. I think Capistrano may just be picking up an SSH_AUTH_SOCK environment variable set by some prior ssh-agent that is potentially no longer there. Thats how it appears, at least. BTW, I’m running Capistrano 2.0 from a mac.







Wow that helped. I was getting pretty frustrated. Thanks!
Posted at 6:12 pm on March 8th, 2008Thanks ! It really helped.
Posted at 3:33 am on March 10th, 2008