I tried that too. It doesn't work. This is what I get:

 ** scp download /home/cso/windowsxp-sp3-ie7-ff3-1.vdi -> /home/admin/
*** download via scp failed on c...@snake-eyes: SCP did not finish
successfully (1) (SCP did not finish successfully (1))
download via scp failed on c...@snake-eyes: SCP did not finish
successfully (1) (SCP did not finish successfully (1))

On Apr 20, 8:34 am, Jamis Buck <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to