Skip to content

Instantly share code, notes, and snippets.

@benwk
Last active September 13, 2023 14:37
Show Gist options
  • Save benwk/3e1a02ec5a94593abf22673b283932c0 to your computer and use it in GitHub Desktop.
Save benwk/3e1a02ec5a94593abf22673b283932c0 to your computer and use it in GitHub Desktop.
Proxy

SSH Proxy

Config

.ssh/config

MacOS

Host github.com
  User git
  ProxyCommand nc -x 127.0.0.1:7890 %h %p

Host bitbucket.org
  User git
  ProxyCommand nc -x 127.0.0.1:7890 %h %p

Windows

Host github.com
  User git
  ProxyCommand connect -S 127.0.0.1:7890 %h %p

Host bitbucket.org
  User git
  ProxyCommand connect -S 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