Capistrano SSHAgent Error

Posted on September 8th, 2007 by Chris

Small 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.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

2 Comments so far

1 | Eddy

Wow that helped. I was getting pretty frustrated. Thanks!

Posted at 6:12 pm on March 8th, 2008
2 | Dennis

Thanks ! It really helped.

Posted at 3:33 am on March 10th, 2008

Write a new comment


Comment: