This is because, at one point, you had an ssh-agent running, but now it isn't. When it stopped running, it didn't clean up after itself and left an SSH_AUTH_SOCK environment variable in your environment. If you delete that environment variable (or fire up ssh-agent), you should have better luck.

- Jamis

On Feb 17, 2008, at 9:52 AM, Stuart Sierra wrote:


Hello all, I'm getting a strange error when I run *any* cap command:

connection failed for: 111.111.111.111 (Errno::ENOENT: No such file or directory -
   /tmp/ssh-hmztUI5987/agent.5987)

where 111.111.111.111 is my server's IP address.

I tried both capistrano 2.0 and 2.1.  I can ssh from the command line
with no problem.

Any ideas?
-Stuart
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to