Thanks Scott:
I have a couple of follow up questions:

Presently I use 'deploy' as the username to deploy my Rails app with.

On the server I have the public key of my local development system
stored in:

/home/deploy/.ssh/authorized_keys

1.  On the server would I execute this command:  ssh-keygen -t rsa?

2.  On the server do I store the keys id_rsa & id_rsa.pub in /home/
deploy/.ssh?

3.  Should I add the servers id_rsa.pub key to the 'deploy keys'
section of the private repo?

4.  How does the server know to use ssh to get the code from the
repository?

[ my cap has this line in it now:  set :repository,  "git://github.com/
myapp/myapp.git" to access the public repo which works great ]

Thanks for your help,
Todd


On Jun 10, 5:46 am, "Scott Chacon" <[EMAIL PROTECTED]> wrote:
> You need to generate an ssh keypair on each deployment server and add
> the public key of each server to the 'deploy keys' section under the
> Admin tab of the private repo.
>
> On Mon, Jun 9, 2008 at 11:13 PM, sbtodd <[EMAIL PROTECTED]> wrote:
>
> > How do I setup Capistrano so that my server can pull my application in
> > from a private repository
> > hosted at GitHub?
>
> > I can get Cap to pull my application in from a public repository, but
> > am not sure how to set this
> > up to pull an application in from a private repository.
>
> > Thanks for any tips or help anyone can provide.
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to