mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-06-06 15:10:52 +00:00
31
ssh/example
Normal file
31
ssh/example
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
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
|
||||||
Reference in New Issue
Block a user