> 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?

Yes to all of these.  The first step should do the second automatically.

> 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 ]

You will need to change your :repository to your clone url, ie:

set :repository, "[EMAIL PROTECTED]:myapp/myapp.git"

In git, if there is no protocol specified like that, it assumes ssh.
That line is equivalent to this one:

set :repository, "ssh://[EMAIL PROTECTED]:myapp/myapp.git"

Scott

--~--~---------~--~----~------------~-------~--~----~
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