Try:
:hosts => "c...@snake-eyes"
- Jamis
On 4/17/09 12:09 PM, PhatBaja wrote:
> I want to download a file using a different user, but it seems that it
> is not possible. This is the command I am using:
>
> get("/home/cso/windowsxp-sp3-ie7-ff3-1.vdi", "/home/admin/.VirtualBox/
> HardDisks/", :via => :scp, :hosts => "snake-eyes", :user => "cso")
>
> Password:
> connection failed for: snake-eyes (Net::SSH::AuthenticationFailed:
> admin)
>
> I want host A to download the file from host "snake-eyes" using user
> "cso". Using the parameter :user => "cso" did not work as it is still
> trying to connect to snake-eyes using user "admin". Any ideas?
>
> >
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---