Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save njleonzhang/5333abdc3230714dc3954474f152d758 to your computer and use it in GitHub Desktop.

Select an option

Save njleonzhang/5333abdc3230714dc3954474f152d758 to your computer and use it in GitHub Desktop.
github 配置代理
# 先装 connect
brew install connect
# 在 ~/.ssh/config 中,填:
```
Host github.com
User git
Hostname github.com
ProxyCommand connect -S 127.0.0.1:7897 %h %p
StrictHostKeyChecking no
IdentityFile ~/.ssh/id_ed25519
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment