[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
|
Include ~/.orbstack/ssh/config
|
||||||
|
|
||||||
|
|
||||||
@ -7,13 +9,17 @@ Include /Users/powellc/.colima/ssh_config
|
|||||||
#CanonicalDomains elationemr.com unbl.ink onec.me
|
#CanonicalDomains elationemr.com unbl.ink onec.me
|
||||||
#
|
#
|
||||||
Host *
|
Host *
|
||||||
IdentitiesOnly yes
|
IdentityAgent $SSH_AUTH_SOCK
|
||||||
|
PreferredAuthentications publickey
|
||||||
|
IdentitiesOnly no
|
||||||
|
|
||||||
Host github.com
|
Host github.com
|
||||||
|
User git
|
||||||
|
IdentityAgent $SSH_AUTH_SOCK
|
||||||
ServerAliveInterval 300
|
ServerAliveInterval 300
|
||||||
ServerAliveCountMax 2
|
ServerAliveCountMax 2
|
||||||
AddKeysToAgent yes
|
IdentitiesOnly yes
|
||||||
IdentityFile ~/.ssh/2025_git
|
IdentityFile none
|
||||||
|
|
||||||
# Home Gitea account:
|
# Home Gitea account:
|
||||||
Host code.unbl.ink git.service 192.168.40.83 gogs*
|
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
|
IdentityFile ~/.ssh/2024_git
|
||||||
PreferredAuthentications publickey
|
PreferredAuthentications publickey
|
||||||
PasswordAuthentication no
|
PasswordAuthentication no
|
||||||
IdentitiesOnly yes
|
|
||||||
Port 222
|
Port 222
|
||||||
|
|
||||||
# Mailinabox uses root by default
|
# Mailinabox uses root by default
|
||||||
|
|||||||
Reference in New Issue
Block a user