[Rails] ssh issues with capistrano

Dion Hewson
Mon, 10 Jul 2006 04:06:46 -0000

Hi all,

I am trying to deploy my rails app on my remote host to another subdomain on
the same remote host

e.g from staging.mydomain.com to live.mydomain.com

but I can''t get ssh to authenticate in capistrano when I run  >>
rake
remote:exec ACTION=setup --trace (of cap-a setup)

I get this error:

[DEBUG] 2006-07-09T20:44:20.189599  -- userauth.driver: all authorization
methods failed
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.8/lib/net/ssh/session.rb:129:in
`initialize'': jellicoe (Net::SSH::AuthenticationFailed)

as far as I am aware my ssh is working fine and the public key is loaded
when I verify with "ssh-add -l"

is this issue because I am deploying from the remote host to itself??? can
capistrano do this?


cheers

dion
-------------- next part --------------
An HTML attachment was scrubbed...