Forum: Ruby on Rails Capistrano: can't get remote connection to work

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5810a1b7743eb2186ca0ea1d0a3469a0?d=identicon&s=25 Stephen Bannasch (Guest)
on 2006-03-28 23:35
(Received via mailing list)
I can't get rake remote:exec ACTION=setup to complete successfully. I
suspect there is a problem in authentication.

The problem however isn't RSA authentication, see earlier message:

  subj: Capistrano: remote setup fails, using RSA authentication

I renamed my .ssh dir on the remote server and am now connecting via
ssh-password authentication. I can connect via ssh w/o problem, just
not through capistrano.

The problem also isn't the setup task -- I created the simplest task
I could imagine:

task :ls, :roles => [:app] do
   run <<-CMD
     ls #{deploy_to}
   CMD
end

I still get a similar error:

rake remote:exec ACTION=ls
(in /Users/stephen/dev/rails/teemss2)
     loading configuration
/usr/local/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard.rb
     loading configuration ./config/deploy.rb
   * executing task ls
   * executing "ls /web/rails.dev.concord.org/teemss2"
     servers: ["maggie.concord.org"]
rake aborted!
No such file or directory - /tmp/ssh-G0tW2k3sTa/agent.333
This topic is locked and can not be replied to.