3 ms·
Stuff in ~/.ssh/config which complements the git config in OP: Host foo.bitbucket.org HostName bitbucket.org User git IdentityFile ~/.ssh/foo_id
by rgoulter 4y ago
Stuff in ~/.ssh/config which complements the git config in OP:
Host foo.bitbucket.org
HostName bitbucket.org
User git
IdentityFile ~/.ssh/foo_id
As in, for using bitbucket.org with the private key ~/.ssh/foo_id, you'd instead clone from foo.bitbucket.org:owner/repo.