Files
dotfiles/ssh/example
d0zingcat 7c11184136 chore
Signed-off-by: d0zingcat <iamtangli42@gmail.com>
2025-03-06 16:47:27 +08:00

32 lines
609 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