Were your local keys generated on a Debian (ie-Ubuntu) based system prior to OpenSSH_4.7p1 Debian-8ubuntu1.2? If so this problem might be the rejection of you keys as "weak" by openssh-blacklist.
M<>< On May 21, 3:12 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007 > > On May 21, 2:49 pm, Jamis Buck <[EMAIL PROTECTED]> wrote: > > > What SSH agent are you using locally? > > > - Jamis > > > On May 21, 2008, at 3:21 PM, [EMAIL PROTECTED] wrote: > > > > Sorry. Posted the wrong debug output: > > > > * executing `deploy:setup' > > > * executing "umask 02 && mkdir -p /var/html/www/systems_manager /var/ > > > html/www/systems_manager/releases /var/html/www/systems_manager/ > > > shared /var/html/www/systems_manager/shared/system /var/html/www/ > > > systems_manager/shared/log /var/html/www/systems_manager/shared/pids" > > > servers: ["192.168.11.81"] > > > D, [2008-05-21T14:20:34.519962 #11214] DEBUG -- > > > net.ssh.transport.session[..fdbc2eef2]: establishing connection to > > > 192.168.11.81:22 > > > D, [2008-05-21T14:20:34.521105 #11214] DEBUG -- > > > net.ssh.transport.session[..fdbc2eef2]: connection established > > > I, [2008-05-21T14:20:34.521394 #11214] INFO -- > > > net.ssh.transport.server_version[..fdbc2e9de]: negotiating protocol > > > version > > > D, [2008-05-21T14:20:34.528094 #11214] DEBUG -- > > > net.ssh.transport.server_version[..fdbc2e9de]: remote is SSH-2.0- > > > OpenSSH_4.3 > > > D, [2008-05-21T14:20:34.528401 #11214] DEBUG -- > > > net.ssh.transport.server_version[..fdbc2e9de]: local is SSH-2.0-Ruby/ > > > Net::SSH_2.0.1 i486-linux > > > D, [2008-05-21T14:20:34.530424 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: read 704 bytes > > > D, [2008-05-21T14:20:34.530870 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: received packet nr 0 type 20 len 700 > > > I, [2008-05-21T14:20:34.531242 #11214] INFO -- > > > net.ssh.transport.algorithms[..fdbc2e740]: got KEXINIT from server > > > I, [2008-05-21T14:20:34.531650 #11214] INFO -- > > > net.ssh.transport.algorithms[..fdbc2e740]: sending KEXINIT > > > D, [2008-05-21T14:20:34.532259 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: queueing packet nr 0 type 20 len 508 > > > D, [2008-05-21T14:20:34.532693 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: sent 512 bytes > > > I, [2008-05-21T14:20:34.533051 #11214] INFO -- > > > net.ssh.transport.algorithms[..fdbc2e740]: negotiating algorithms > > > D, [2008-05-21T14:20:34.533681 #11214] DEBUG -- > > > net.ssh.transport.algorithms[..fdbc2e740]: negotiated: > > > * kex: diffie-hellman-group-exchange-sha1 > > > * host_key: ssh-dss > > > * encryption_server: aes128-cbc > > > * encryption_client: aes128-cbc > > > * hmac_client: hmac-sha1 > > > * hmac_server: hmac-sha1 > > > * compression_client: none > > > * compression_server: none > > > * language_client: > > > * language_server: > > > D, [2008-05-21T14:20:34.533956 #11214] DEBUG -- > > > net.ssh.transport.algorithms[..fdbc2e740]: exchanging keys > > > D, [2008-05-21T14:20:34.534673 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: queueing packet nr 1 type 34 len 20 > > > D, [2008-05-21T14:20:34.534949 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: sent 24 bytes > > > D, [2008-05-21T14:20:34.575540 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: read 152 bytes > > > D, [2008-05-21T14:20:34.576017 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: received packet nr 1 type 31 len 148 > > > D, [2008-05-21T14:20:34.587209 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: queueing packet nr 2 type 32 len 140 > > > D, [2008-05-21T14:20:34.587591 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: sent 144 bytes > > > D, [2008-05-21T14:20:34.592236 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: read 656 bytes > > > D, [2008-05-21T14:20:34.592652 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: received packet nr 2 type 33 len 636 > > > D, [2008-05-21T14:20:34.603064 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: queueing packet nr 3 type 21 len 20 > > > D, [2008-05-21T14:20:34.603428 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: sent 24 bytes > > > D, [2008-05-21T14:20:34.603916 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: received packet nr 3 type 21 len 12 > > > D, [2008-05-21T14:20:34.604670 #11214] DEBUG -- > > > net.ssh.authentication.session[..fdbc27864]: beginning authentication > > > of `sean' > > > D, [2008-05-21T14:20:34.605245 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: queueing packet nr 4 type 5 len 28 > > > D, [2008-05-21T14:20:34.605490 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: sent 52 bytes > > > D, [2008-05-21T14:20:34.644432 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: read 52 bytes > > > D, [2008-05-21T14:20:34.645068 #11214] DEBUG -- > > > tcpsocket[..fdbc2eb0a]: received packet nr 4 type 6 len 28 > > > D, [2008-05-21T14:20:34.645589 #11214] DEBUG -- > > > net.ssh.authentication.session[..fdbc27864]: trying publickey > > > D, [2008-05-21T14:20:34.645875 #11214] DEBUG -- > > > net.ssh.authentication.agent[..fdbc26c16]: connecting to ssh-agent > > > D, [2008-05-21T14:20:34.646914 #11214] DEBUG -- > > > net.ssh.authentication.agent[..fdbc26c16]: sending agent request 1 len > > > 42 > > > D, [2008-05-21T14:20:34.647927 #11214] DEBUG -- > > > net.ssh.authentication.agent[..fdbc26c16]: received agent packet 5 len > > > 1 > > > connection failed for: 192.168.11.81 > > > (Net::SSH::Authentication::AgentError: unknown response from agent: 5, > > > "\000\000\000\001\005") > > > > On May 21, 2:17 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > >> Hi, > > > >> I've been looking around for a couple of hours and can't seem to find > > >> anything addressing the issue I am having. I am trying to deploy > > >> using Capistrano and am following the tutorial at <a href="http:// > > >> capify.org/getting-started/rails">capify.org</a>. > > > >> Currently, the gems I have installed are: > > >> capistrano 2.3.0 > > >> net-ssh 2.0.1 > > >> net-ssh-gateway 1.0.0 > > > >> Here is the error message I am getting when running 'cap > > >> deploy:setup': > > > >> connection failed for: 192.168.11.81 > > >> (Net::SSH::Authentication::AgentError: unknown response from agent: > > >> 5, > > >> "\000\000\000\001\005") > > > >> It looks like Capistrano is going as far as adding keys to > > >> known_hosts, but nothing after that. I added 'ssh_options[:verbose] > > >> = :debug' to deploy.rb and here's what it outputs. > > > >> * executing `search_libs' > > >> * executing "mkdir -p /var/www/html/systems_manager" > > >> servers: ["localhost"] > > >> D, [2008-05-21T11:50:12.860088 #9045] DEBUG -- > > >> net.ssh.transport.session[..fdbbe3b6e]: establishing connection to > > >> localhost:22 > > >> D, [2008-05-21T11:50:12.875010 #9045] DEBUG -- > > >> net.ssh.transport.session[..fdbbe3b6e]: connection established > > >> I, [2008-05-21T11:50:12.875407 #9045] INFO -- > > >> net.ssh.transport.server_version[..fdbbe365a]: negotiating protocol > > >> version > > >> D, [2008-05-21T11:50:12.876089 #9045] DEBUG -- > > >> net.ssh.transport.server_version[..fdbbe365a]: remote is SSH-2.0- > > >> OpenSSH_4.7p1 Debian-8ubuntu1.2 > > >> D, [2008-05-21T11:50:12.876312 #9045] DEBUG -- > > >> net.ssh.transport.server_version[..fdbbe365a]: local is SSH-2.0-Ruby/ > > >> Net::SSH_2.0.1 i486-linux > > >> D, [2008-05-21T11:50:12.885947 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> read 784 bytes > > >> D, [2008-05-21T11:50:12.886537 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> received packet nr 0 type 20 len 780 > > >> I, [2008-05-21T11:50:12.886967 #9045] INFO -- > > >> net.ssh.transport.algorithms[..fdbbe33bc]: got KEXINIT from server > > >> I, [2008-05-21T11:50:12.887380 #9045] INFO -- > > >> net.ssh.transport.algorithms[..fdbbe33bc]: sending KEXINIT > > >> D, [2008-05-21T11:50:12.888343 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> queueing packet nr 0 type 20 len 508 > > >> D, [2008-05-21T11:50:12.888827 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> sent 512 bytes > > >> I, [2008-05-21T11:50:12.889234 #9045] INFO -- > > >> net.ssh.transport.algorithms[..fdbbe33bc]: negotiating algorithms > > >> D, [2008-05-21T11:50:12.890003 #9045] DEBUG -- > > >> net.ssh.transport.algorithms[..fdbbe33bc]: negotiated: > > >> * kex: diffie-hellman-group-exchange-sha1 > > >> * host_key: ssh-dss > > >> * encryption_server: aes128-cbc > > >> * encryption_client: aes128-cbc > > >> * hmac_client: hmac-sha1 > > >> * hmac_server: hmac-sha1 > > >> * compression_client: none > > >> * compression_server: none > > >> * language_client: > > >> * language_server: > > >> D, [2008-05-21T11:50:12.890334 #9045] DEBUG -- > > >> net.ssh.transport.algorithms[..fdbbe33bc]: exchanging keys > > >> D, [2008-05-21T11:50:12.890987 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> queueing packet nr 1 type 34 len 20 > > >> D, [2008-05-21T11:50:12.891353 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> sent 24 bytes > > >> D, [2008-05-21T11:50:12.933464 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> read 152 bytes > > >> D, [2008-05-21T11:50:12.934116 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> received packet nr 1 type 31 len 148 > > >> D, [2008-05-21T11:50:12.947338 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> queueing packet nr 2 type 32 len 140 > > >> D, [2008-05-21T11:50:12.952214 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> sent 144 bytes > > >> D, [2008-05-21T11:50:12.952639 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> read 656 bytes > > >> D, [2008-05-21T11:50:12.953168 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> received packet nr 2 type 33 len 636 > > >> D, [2008-05-21T11:50:12.965993 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> queueing packet nr 3 type 21 len 20 > > >> D, [2008-05-21T11:50:12.966906 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> sent 24 bytes > > >> D, [2008-05-21T11:50:12.967373 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> received packet nr 3 type 21 len 12 > > >> D, [2008-05-21T11:50:12.968365 #9045] DEBUG -- > > >> net.ssh.authentication.session[..fdbbdcada]: beginning authentication > > >> of `sean' > > >> D, [2008-05-21T11:50:12.968882 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> queueing packet nr 4 type 5 len 28 > > >> D, [2008-05-21T11:50:12.969279 #9045] DEBUG -- > > >> tcpsocket[..fdbbe3786]: > > >> sent 52 bytes > > >> D, [2008-05-21T11:50:13.006411 > > ... > > read more ยป --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
