[ssh] Fix using agents for login

This commit is contained in:
2026-01-05 17:12:14 -05:00
parent 3e7962c0d3
commit 464ed6ec06

View File

@ -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