[ssh] Fix using agents for login
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
Include /Users/colin.powell/.colima/ssh_config
|
||||
|
||||
Include ~/.orbstack/ssh/config
|
||||
|
||||
|
||||
@ -7,13 +9,17 @@ Include /Users/powellc/.colima/ssh_config
|
||||
#CanonicalDomains elationemr.com unbl.ink onec.me
|
||||
#
|
||||
Host *
|
||||
IdentitiesOnly yes
|
||||
IdentityAgent $SSH_AUTH_SOCK
|
||||
PreferredAuthentications publickey
|
||||
IdentitiesOnly no
|
||||
|
||||
Host github.com
|
||||
User git
|
||||
IdentityAgent $SSH_AUTH_SOCK
|
||||
ServerAliveInterval 300
|
||||
ServerAliveCountMax 2
|
||||
AddKeysToAgent yes
|
||||
IdentityFile ~/.ssh/2025_git
|
||||
IdentitiesOnly yes
|
||||
IdentityFile none
|
||||
|
||||
# Home Gitea account:
|
||||
Host code.unbl.ink git.service 192.168.40.83 gogs*
|
||||
@ -21,7 +27,6 @@ Host code.unbl.ink git.service 192.168.40.83 gogs*
|
||||
IdentityFile ~/.ssh/2024_git
|
||||
PreferredAuthentications publickey
|
||||
PasswordAuthentication no
|
||||
IdentitiesOnly yes
|
||||
Port 222
|
||||
|
||||
# Mailinabox uses root by default
|
||||
|
||||
Reference in New Issue
Block a user