Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
David7ce authored Sep 1, 2024
1 parent 33a2b3d commit c7ce035
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .ssh/config
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
# git@host:username/repo.git = [email protected]:u1-gh/testing.git

# GitHub user 1
Host github-user1
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/github_user1
IdentityFile ~/.ssh/u1-gh
IdentitiesOnly yes

# GitHub user 2
Host github-user2
HostName github.com
User git
IdentityFile ~/.ssh/github_user2
IdentityFile ~/.ssh/u2-gh
IdentitiesOnly yes

# GitLab user
Host gitlab
Host gitlab.com
HostName gitlab.com
User git
IdentityFile ~/.ssh/gitlab
IdentityFile ~/.ssh/u1-gl
IdentitiesOnly yes

# Codeberg user
Host codeberg
Host codeberg.org
HostName codeberg.org
User git
IdentityFile ~/.ssh/codeberg
IdentitiesOnly yes
IdentityFile ~/.ssh/u1-cb
IdentitiesOnly yes

0 comments on commit c7ce035

Please sign in to comment.