multiple ssh aliases is selecting wrong user when forwarding
- by Chris Beck
I'm following the dual identity procedure for bitbucket:
I have 2 bitbucket accounts ccmcbeck and chrisbeck. The former is personal, the latter is work.
On my local Mac, I have this in my ~/.ssh/config
Host *.work.com
User chris
ForwardAgent yes
IdentityFile ~/.ssh/work_dsa
Host bitbucket-personal
HostName bitbucket.org
User…