Created
May 15, 2026 15:46
-
-
Save njleonzhang/5333abdc3230714dc3954474f152d758 to your computer and use it in GitHub Desktop.
github 配置代理
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 先装 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