Skip to content

Instantly share code, notes, and snippets.

@rosuH
Created June 19, 2022 01:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rosuH/32bd1963622a3399c9081eeb8b002ab5 to your computer and use it in GitHub Desktop.
Save rosuH/32bd1963622a3399c9081eeb8b002ab5 to your computer and use it in GitHub Desktop.
SSH Proxy config
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519
Host github.com
Hostname ssh.github.com
AddKeysToAgent yes
Port 443
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519
User git
ProxyCommand nc -v -X 5 -x 127.0.0.1:7890 %h %p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment