I was having errors like this when setting the scm_passphrase to my git password when prompted. For me, it worked when I set the password to my server deployment user's password. Don't take my word on this, but if it helps you out then all is good, if not forget the I mentioned it.
On Apr 21, 9:43 am, 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 -~----------~----~----~----~------~----~------~--~---
