I have been using a capistrano deploy script successfully to deploy from my 
laptop to a staging/test server (a VM) by copy and to the production server 
from git.

I have created a working copy of the source in my home folder of the 
production server by cloning the repository (which is also on the 
production server) using the same git url as I use on the laptop.

The intention is to be able to edit files in the dev area of the production 
server and do a git push and cap deploy in the same way as from the laptop.

However the cap deploy fails with Net::SSH::AuthenticationFailed during the 
deploy:update_code stage.

I dont know if I need to change the repository or local_repository 
variables?

I can ssh to the server from itself and I can do git clones using the ssh 
git url...

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to capistrano@googlegroups.com
* To unsubscribe from this group, send email to 
capistrano+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capistrano+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Attachment: deploy.rb
Description: Binary data

Reply via email to