Answer the question
In order to leave comments, you need to log in
How to use multiple bitbucket/github accounts from one machine in git?
There are 2 bitbucket/github accounts - user1 and user2
Accordingly, there are 2 different access keys.
I made a config file, but after a reboot there are access errors
Host bitbucket.org
User user1
Hostname bitbucket.org
IdentityFile ~/.ssh/user1
Host bitbucket.org
User user2
Hostname bitbucket.org
IdentityFile ~/.ssh/user2
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question