update ssh

Signed-off-by: d0zingcat <leewtang@gmail.com>
This commit is contained in:
d0zingcat
2024-03-26 15:18:58 +08:00
parent 75b768b239
commit 6477a525a0
2 changed files with 1 additions and 33 deletions

2
.gitignore vendored
View File

@@ -4,8 +4,8 @@ raycast/extensions
raycast/config.json
*.env
.git/
ssh/config
.DS_Store
zed/.tmp*
zed/embeddings
zed/conversations
ssh/config

View File

@@ -1,32 +0,0 @@
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