I meant public/private keypair. We're talking about the same thing. I  
wasn't sure if you were using a password or keypair for authentication.

Christian



On Apr 22, 2009, at 5:21 PM, PhatBaja <[email protected]> wrote:

>
> Unfortunately there's nothing useful in /var/log/messages
>
> I am using public key authentication. When I do an scp manually I
> don't even need to type in the password but with capistrano's get I am
> still getting the same error.
>
>    servers: ["snake-eyes"]
> ** scp download /home/cso/windowsxp-sp3-ie7-ff3-1.vdi -> /home/
> admin/.VirtualBox/HardDisks/
> *** 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))
>
> Christian, what do you mean by "it's better to use a private key"? Can
> you tell me how to do that? I am currently using a public key.
>
>
> On Apr 21, 4:14 pm, Christian Eager <[email protected]> wrote:
>> How are you authenticating with c...@snake-eyes? If you're using a  
>> password,
>> it must be the same as the one you've previously entered for the user
>> "admin". It's better to use a private key, which you must specify  
>> in the
>> options, or have in a standard place, e.g., your local user's .ssh
>> directory.
>>
>> On Apr 21, 2009, at 2:17 PM, Lee Hambley <[email protected]>  
>> wrote:
>>
>> Is there anything in the /var/log/messages (or equivalent) on your  
>> server?
>> - Lee
>>
>> 2009/4/21 PhatBaja < <[email protected]>[email protected]>
>>
>>
>>
>>> 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