Hi David,

  Try adding your keys to your ssh agent with the command:

    $ ssh-add

Regards

2011/6/22 David Zhang <[email protected]>

> 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
> "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.com/group/capistrano?hl=en

-- 
* 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.com/group/capistrano?hl=en

Reply via email to