On Sunday, May 4, 2014 10:08:48 PM UTC+2, Thomas Ferris Nicolaisen wrote:
>
>
> Any wild ideas on how I could possibly get both working over SSH?
>
 
Got it: The trick is to configure SSH aliases as described here:

http://stackoverflow.com/questions/7927750/specify-an-ssh-key-for-git-push-without-using-ssh-config

So now I've got a host alias bitbucket.org.private - which is also 
configured to use my private key. Note that I add to do `ssh-add 
private.id_rsa` before the new key would start working.

This technique is even described in the BitBucket docs, so that's RTFM for 
me: 
https://confluence.atlassian.com/pages/viewpage.action?pageId=271943168#ConfiguremultipleSSHidentitiesforGitBash,MacOSX,&Linux-ClonearepositoryusingSSHandyouraliasconfiguration


-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to