- Generate two keys
- Create ~/.ssh/config
- Put following in it:
Host github.com-user1
HostName github.com
User git
IdentityFile ~/.ssh/[key file for user1]
Host github.com-user2
networks: | |
wireguard: | |
name: wireguard | |
services: | |
wireguard: | |
container_name: wireguard | |
image: lscr.io/linuxserver/wireguard:latest | |
restart: unless-stopped | |
cap_add: |
Host github.com-user1
HostName github.com
User git
IdentityFile ~/.ssh/[key file for user1]
Host github.com-user2