Re: [git-users] question regarding multiple ssh keys

2009-12-01 Thread Alan Hawrylyshen
What is the output of 

ssh -vvv g...@my_personal_account.github.com 

and 

ssh -vvv g...@my_work_account.github.com
?

There might be a clue in there to the reasons behind the troubles.
I've been using git with multiple identity files and a single server, 
differentiated only by hostname with no problems.

HTH,
Alan

--
Alan Hawrylyshen
a l a n a t p o l y p h a s e d o t c a



--

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.




[git-users] question regarding multiple ssh keys

2009-12-01 Thread chris
I have two different git repos for different uses, each of which has a
different ssh key. The initial account and ssh key that were setup
work fine, but when I try to use the other account and ssh key I get
denied and am told that permission for account 2 is denied for user of
account 1.

I have created a ~/.ssh/config file with the following:

Host *.github.com
  Hostname github.com
  User git

Host my_personal_account.github.com
  IdentityFile ~/.ssh/personal_rsa

Host my_work_account.github.com
  IdentityFile ~/.ssh/id_rsa


I must be missing something, because even when I remove the "Host
my_work_account .." section I get the same error message:

ERROR: Permission to my_personal_account/project_name denied to
my_work_account_name.
fatal: The remote end hung up unexpectedly

Thanks for any help.

--

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.