So...if you log into your remote host, and from there ssh to the host that has your git repository, you don't get prompted for a password? What about if you log into your remote host and then try to do a git clone, as capistrano is trying to do? Do you get the same error?

- Jamis

On May 14, 2008, at 1:17 PM, macace wrote:


Well here I stand again....
now I have fixed publickey-thingy...
guess what.. no change in the error message...
Anyone got some idea?


On May 11, 11:55 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
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
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to