On Nov 15, 4:04 pm, "GitHub Support" <[EMAIL PROTECTED]> wrote:

> Deploy keys are designed so that a machine has access to only a single
> repository, not every repository in your account. If the machine needs
> access to all the repositories, there is no issue with adding a new SSH key
> to your account and utilizing that.

  Not a whole machine, just a single account on a machine.  I have
both of the following:

  1) A machine with distinct accounts each with specific repository
access.
  2) A machine with one account that has specific access to varying
repositories.

  The latter is easily achievable with a ~/.ssh/config in the
following form:

Host *.github.com
        Hostname github.com

Host project1.github.com
        IdentityFile ~/.ssh/project1-deploy_dsa

Host project2.github.com
        IdentityFile ~/.ssh/project2-deploy_dsa

[...]

Then you clone with:

git clone [EMAIL PROTECTED]:user/project1.git
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to github@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to