This is a pretty good site for explaining how to configure that:

   http://sial.org/howto/openssh/publickey-auth/

Hope that helps,

Jamis

On May 11, 2008, at 2:52 PM, macace wrote:

>
> Hmm... I kind of expected that.. to be real.. I dont know how to do
> that...
> I´ve got both privet and public keys...
> When I google it I dont get how they are doin that anny way..
> as I said: big noobie at this..
>
> Thank you for your repliy..
>
> On May 10, 11:21 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
>> I suspect you've not configured your remote hosts for passwordless  
>> SSH
>> access to your git repository. Make sure you've got the public keys
>> set up on your remote host so you can do a "git clone" without a
>> password prompt there.
>>
>> - Jamis
>>
>> On May 10, 2008, at 5:10 AM, macace wrote:
>>
>>
>>
>>> Hi guys.
>>> I´m a noobie at all this so bare with me..
>>> I´m trying to make a cold deploy, but I get this messege.
>>
>>> cap deploy:cold
>>>  * executing `deploy:cold'
>>>  * executing `deploy:update'
>>> ** transaction: start
>>>  * executing `deploy:update_code'
>>> [EMAIL PROTECTED]'s password:
>>>  * executing "git clone [EMAIL PROTECTED]:~/gitresp/butiken/butiken
>>> railsapps/fargdesign/releases/20080510110140 && cd railsapps/
>>> fargdesign/releases/20080510110140 && git checkout -b deploy
>>> 10806bc3779b5d379aaca01483d51e14cadae9ab && (echo
>>> 10806bc3779b5d379aaca01483d51e14cadae9ab > railsapps/fargdesign/
>>> releases/20080510110140/REVISION)"
>>>    servers: ["bar.com"]
>>>    [EMAIL PROTECTED] executing command
>>> ** [out] Initialized empty Git repository in /home/bar/railsapps/
>>> fargdesign/releases/20080510110140/.git/
>>> ** [err] Permission denied, please try again.
>>> ** [err] Permission denied, please try again.
>>> ** [err] Permission denied (publickey,password).
>>> ** [err] fatal: The remote end hung up unexpectedly
>>> ** [err] fetch-pack from '[EMAIL PROTECTED]:~/gitresp/butiken/butiken'
>>> failed.
>>>    command finished
>>> *** [deploy:update_code] rolling back
>>>  * executing "rm -rf railsapps/fargdesign/releases/20080510110140;
>>> true"
>>>    servers: ["bar.com"]
>>>    [EMAIL PROTECTED] executing command
>>>    command finished
>>> command "git clone [EMAIL PROTECTED]:~/gitresp/butiken/butiken railsapps/
>>> fargdesign/releases/20080510110140 && cd railsapps/fargdesign/
>>> releases/
>>> 20080510110140 && git checkout -b deploy
>>> 10806bc3779b5d379aaca01483d51e14cadae9ab && (echo
>>> 10806bc3779b5d379aaca01483d51e14cadae9ab > railsapps/fargdesign/
>>> releases/20080510110140/REVISION)" failed on [EMAIL PROTECTED]
>>
>>> My setup:
>>> Mac os x 10.4.x (tiger)
>>> Ruby 1.8.6
>>> Rails 2.0.2
>>> Capistrano 2.3.0 (localy)
>>> Git 1.5.5.1 (localy & remote)
>>> Webhotel: Bluehost
>>
>>> If someone has a fix or a howto, I´ll be thrilled!
> >


--~--~---------~--~----~------------~-------~--~----~
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