Skip to content

Commit

Permalink
Fix github ssh multiplexing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
speshak committed Nov 7, 2024
1 parent daa9a23 commit 8269b27
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dot_ssh/config → dot_ssh/config.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ Host github.com
Hostname ssh.github.com
Port 443
User git
# I was having connection issues with some workflows that open a large
# number of connections to github. Turning off multiplexing fixes that.
ControlMaster no
ControlPath none
ControlPersist no

# SSH over Session Manager
host i-* mi-*
Expand All @@ -25,3 +30,8 @@ Host *
ControlPersist yes
ControlPath ~/.ssh/control/%C
AddKeysToAgent yes

{{ if eq .chezmoi.os "darwin" -}}
IdentityAgent /Users/speshak/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh
{{ end -}}
# vim: ft=sshconfig

0 comments on commit 8269b27

Please sign in to comment.