Rick, Your server needs a key on GitHub, (its own keys, really) that might be the problem.
-- Lee Hambley Twitter: @leehambley Blog: http://lee.hambley.name/ Working with Rails: http://is.gd/1s5W1 2009/7/23 rmossuk <[email protected]> > > hi all > > i am having a problem with deploying my application to my server. > > i have msysgit, github and capistrano installed and working. > > i have successfully pushed my app to github and can successfully run > cap deploy:setup to setup on my server from my local machine. > > BUT.. > > when i run cap deploy:cold it asks me for my passphrase to connect to > github repo then it asks it again to connect to my server but then it > gives me an error permission denied (public key) and rools back. > > it seems like this is an error with my keys but how can it then > connect to my server to do the cap deplo:setup ? > > my public keys are the same in both github and my server is this > correct ? > > also when running cap deploy:setup it asks me for my user server > password is this correct ? > > please help as this has delayed me for days already > > this is the error > > $ cap deploy * executing deploy' * executing deploy:update' ** > transaction: start * executing `deploy:update_code' executing locally: > "git ls-remote [email protected]:rmossuk/Macrotec.git master " Enter > passphrase for key '/c/Users/Rick/.ssh/id_rsa': * executing "git clone > -q [email protected]:rmossuk/Macrotec.git /usr/local/lib/r uby/gems/1.9.1/ > gems/passenger-2.2.4/test/stub/rails_apps/Macrotec/releases/20090 > 723213346 && cd /usr/local/lib/ruby/gems/1.9.1/gems/passenger-2.2.4/ > test/stub/ra ils_apps/Macrotec/releases/20090723213346 && git checkout > -q -b deploy a28798bc0 d3b5688453a58bf4917d6c931187a7a && (echo > a28798bc0d3b5688453a58bf4917d6c931187a7 a > /usr/local/lib/ruby/gems/ > 1.9.1/gems/passenger-2.2.4/test/stub/rails_apps/Mac rotec/releases/ > 20090723213346/REVISION)" servers: ["macclesfieldnutrition.co.uk"] > Enter passphrase for c:/Users/Rick/.ssh/id_rsa: > [macclesfieldnutrition.co.uk] executing command ** > [macclesfieldnutrition.co.uk :: out] Permission denied (publickey). ** > [macclesfieldnutrition.co.uk :: out] fatal: The remote end hung up > unexpecte dly command finished *** [deploy:update_code] rolling back * > executing "rm -rf /usr/local/lib/ruby/gems/1.9.1/gems/passenger-2.2.4/ > test/s tub/rails_apps/Macrotec/releases/20090723213346; true" servers: > ["macclesfieldnutrition.co.uk"] [macclesfieldnutrition.co.uk] > executing command command finished failed: "sh -c 'git clone -q > [email protected]:rmossuk/Macrotec.git /usr/local/lib/ ruby/gems/1.9.1/ > gems/passenger-2.2.4/test/stub/rails_apps/Macrotec/releases/2009 > 0723213346 && cd /usr/local/lib/ruby/gems/1.9.1/gems/passenger-2.2.4/ > test/stub/r ails_apps/Macrotec/releases/20090723213346 && git checkout > -q -b deploy a28798bc 0d3b5688453a58bf4917d6c931187a7a && (echo > a28798bc0d3b5688453a58bf4917d6c931187a 7a > /usr/local/lib/ruby/gems/ > 1.9.1/gems/passenger-2.2.4/test/stub/rails_apps/Ma crotec/releases/ > 20090723213346/REVISION)'" on macclesfieldnutrition.co.uk > > thanks alot rick > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Capistrano" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.co.uk/group/capistrano?hl=en -~----------~----~----~----~------~----~------~--~---
