I have created a key with empty passphrase on my deployment server just for
GitHub. After that I have put this into ~/.ssh/config there:
Host github.com
IdentityFile ~/.ssh/github
Cap deployment with git is now a breeze.
@Chris: what do passwords have to do with public key authentication?
- M
On Mon, Apr 21, 2008 at 5:43 PM, mikej <[EMAIL PROTECTED]> wrote:
>
> After a few perilous weeks learning rails, I approach the final hurdle
> of deploying my first application.
>
> I can connect to my vps using ssh (no password), I have set up a git
> repository and have run cap deploy:setup successfully.
>
> With cap deploy:cold I receive the following:
>
> * executing `deploy:cold'
> * executing `deploy:update'
> ** transaction: start
> * executing `deploy:update_code'
> * executing "git clone [EMAIL PROTECTED] release etc."
> servers: ["domain"]
> [domain] executing command
> ** [out] Initialized empty Git repository in dir
> ** [err] Permission denied (publickey).
> ** [err] fatal:
> ** [err] The remote end hung up unexpectedly
> ** [err]
> ** [err] fetch-pack from '[EMAIL PROTECTED] failed.
> command finished
>
> I have recreated keys as suggested from various users and added the
> lines below to my deploy.rb file.
>
> ssh_options[:paranoid] = false
> default_run_options[:pty] = true
>
> Any other ideas very gratefully received,
>
> many thanks,
>
> Mike
> >
>
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---