Files
dotfiles/ssh/config
Lee Tang c75b9971d9 update
Signed-off-by: Lee Tang <i@d0zingcat.dev>
2023-05-06 11:37:22 +08:00

33 lines
614 B
Plaintext

Host *
#HostkeyAlgorithms +ssh-rsa
#PubkeyAcceptedAlgorithms +ssh-rsa
IdentityAgent "~/.1password/agent.sock"
ServerAliveInterval 60
TCPKeepAlive yes
Host github.com
Hostname ssh.github.com
Port 443
User git
# set to personal by default
IdentityFile ~/.ssh/personal.pub
IdentitiesOnly yes
# Personal
Host personalgit
Hostname ssh.github.com
Port 443
User git
IdentityFile ~/.ssh/personal.pub
IdentitiesOnly yes
# Work
Host workgit
Hostname ssh.github.com
Port 443
User git
IdentityFile ~/.ssh/work.pub
IdentitiesOnly yes