Re:GitHub Supports Web Authentication (WebAuthn) for Securit...
by sowbug on Wednesday August 21, 2019 @10:56PM
(#20764238)
Back in 2011 I posted a similar question to Quora. I've since deleted my Quora account, but here's the email notification I got about an answer:
===
New answer to "Why can't I add my public SSH key to more than one account on GitHub?"
Andrew Naoum:
Because when you push via SSH to "[email protected]", it needs to uniquely identify who you are given the SSH public-key.
If you had the same key associated with multiple accounts, it wouldn't know which user to login as.
===
Perhaps if GitHub changed the SSH user to be something like [email protected], then SSH could authenticate you with a single key but preserve the other information needed to b narrow down to a project or organization.
===
New answer to "Why can't I add my public SSH key to more than one account on GitHub?"
Andrew Naoum: Because when you push via SSH to "[email protected]", it needs to uniquely identify who you are given the SSH public-key.
If you had the same key associated with multiple accounts, it wouldn't know which user to login as.
===
Perhaps if GitHub changed the SSH user to be something like [email protected], then SSH could authenticate you with a single key but preserve the other information needed to b narrow down to a project or organization.