It looks like you were using SSHKeychain at one point, which sets an environment variable (SSH_AUTH_SOCK) indicating the socket to use when querying it. However, SSHKeychain isn't running anymore, but the environment variable still exists, and things are blowing up when the agent tries to connect to the socket (which doesn't exist). You might just try removing that environment variable and trying again.

- Jamis

On Oct 17, 2007, at 11:40 AM, Nathan Youngman wrote:


I am running into an error like this <http://groups.google.com/group/
capistrano/browse_thread/thread/de04f810873ac9e0/87d0d2223de29dab?
lnk=gst&q=SSHKeychain.socket#87d0d2223de29dab> while doing a cap
deploy:setup (using Capistrano 2.1 on Mac OS X).

    servers: ["dbserver", "revelation", "james"]
connection failed for: dbserver (Errno::ENOENT: No such file or
directory - /tmp/502/SSHKeychain.socket), james (Errno::ENOENT: No
such file or directory - /tmp/502/SSHKeychain.socket), revelation
(Errno::ENOENT: No such file or directory - /tmp/502/
SSHKeychain.socket)

I can ssh to [EMAIL PROTECTED] from the command line and immediately
be logged in (it took a bit to get the keys working, but now they
are). apply-deploy is my :user in deploy.rb. I'm not entirely sure why
setup is trying to access all 3 servers, since the folders only need
to be on the app server.

I'm not currently using ssh-agent or a gui equivalent, as my key has
no passphrase. I have no ssh_options[:keys] though it has the same
error with one (assuming i put it in the right place and all).

My key file has a custom name, apply_deploy_id_dsa (and .pub) and it
wasn't created here (it came from the Debian server, but it is DSA).
Among a few other things, my ~/.ssh/config specifies:

Host james
  IdentityFile ~/.ssh/apply_deploy_id_dsa

Which is generally how it finds the right key, though perhaps Net:SSH
doesn't look there? Still, ssh_options[:keys] doesn't seem to work
either.
  ssh_options[:keys] = "~/.ssh/apply_deploy_id_dsa"

Thanks for your assistance.
- Nathan.


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to capistrano- [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