I am beginning to use capistrano.

I am using the simple task in the docs:

task :search_libs do
  run "ls -x1 /usr/lib | grep -i xml"
end

It works is I just define
role :libs, "[EMAIL PROTECTED]"

but if I define a gateway
set :gateway, "[EMAIL PROTECTED]"
role :libs, "[EMAIL PROTECTED]"

it just hangs after connecting to the gatewayRGCMacBookPro:~/projects/
captest bobcober$ cap search_libs
  * executing `search_libs'
  * executing "ls -x1 /usr/lib | grep -i xml"
    servers: ["mysql_slave"]
  * establishing connection to gateway `my_internet_accesible_gateway'
    starting connection to gateway `my_internet_accesible_gateway'
    gateway connection established
  * establishing connection to `my_hidden_box' via gateway

My local username is different
But the gateway and teh target have the same username.

I have configured ssh for no password prompt by copying the public
keys.

Any suggestions ideas?

Thanks


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to