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 #9045] DEBUG -- tcpsocket[..fdbbe3786]:
read 52 bytes
D, [2008-05-21T11:50:13.007072 #9045] DEBUG -- tcpsocket[..fdbbe3786]:
received packet nr 4 type 6 len 28
D, [2008-05-21T11:50:13.007692 #9045] DEBUG --
net.ssh.authentication.session[..fdbbdcada]: trying publickey
D, [2008-05-21T11:50:13.008112 #9045] DEBUG --
net.ssh.authentication.agent[..fdbbdbe8c]: connecting to ssh-agent
D, [2008-05-21T11:50:13.008642 #9045] DEBUG --
net.ssh.authentication.agent[..fdbbdbe8c]: sending agent request 1 len
42
D, [2008-05-21T11:50:13.011890 #9045] DEBUG --
net.ssh.authentication.agent[..fdbbdbe8c]: received agent packet 5 len
1
connection failed for: localhost
(Net::SSH::Authentication::AgentError: unknown response from agent: 5,
"\000\000\000\001\005")
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---