Skip to content

Instantly share code, notes, and snippets.

@suminb
Created January 22, 2020 07:19
Show Gist options
  • Save suminb/3b6c374561347bc7bcb1cb935c2513c6 to your computer and use it in GitHub Desktop.
Save suminb/3b6c374561347bc7bcb1cb935c2513c6 to your computer and use it in GitHub Desktop.
#!/bin/bash
export GIT_SSH_COMMAND='ssh -o ProxyCommand="nc -X 5 -x 127.0.0.1:1080 %h %p"'
export http_proxy=socks5://127.0.0.1:1080 https_proxy=socks5://127.0.0.1:1080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment