Tuesday, June 21, 2011

[Rails] Trying to run "cap deploy" with my Rails app; ssh keys

I recently moved my ~/.ssh folder contents to my new laptop in the typical ~/.ssh folder.  I was hoping to be able to use "cap deploy" on my new laptop to continue working with a Rails application I already had in production (it's the command I'd comfortably use on my old laptop).  A little more background - the application is on GitHub, and I've set up the necessary Rails things on my new computer.  

"git push" and "git pull" work fine, but oddly "cap deploy" leads to the  "Permission denied (publickey)" error.... which I would think shouldn't happen because the ssh keys should be the same.  I can even ssh into the server of my app with no problem on my new comp.

The Rails app is deployed on Linux... Um... oh - please understand that I've never actually deployed an app myself with capistrano, i.e. with all the setup with something like Passenger - someone else did it and sort of left me with everything :/.  I don't have a deep understanding of how ssh keys and capistrano and the deployment system work together... 

(I hope this is enough information, and help would REALLY be appreciated)

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/kbWIkhpnZe4J.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate