- 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
| using System.Text; | |
| using BenchmarkDotNet.Attributes; | |
| using BenchmarkDotNet.Running; | |
| namespace ConsoleApp3; | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { |
| 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