Files
dotfiles/ssh/config
Lee Tang 3ea9ab0d06 clean code
Signed-off-by: Lee Tang <i@d0zingcat.dev>
2023-01-15 13:15:25 +08:00

25 lines
445 B
Plaintext

Host *
IdentityAgent "~/.1password/agent.sock"
ServerAliveInterval 60
Host github.com
Hostname ssh.github.com
Port 443
User git
# Personal GitHub
Host personalgit
Hostname ssh.github.com
Port 443
User git
IdentityFile ~/.ssh/personal_git.pub
IdentitiesOnly yes
# Work GitHub
Host workgit
Hostname ssh.github.com
Port 443
User git
IdentityFile ~/.ssh/work_git.pub
IdentitiesOnly yes