Skip to content

Instantly share code, notes, and snippets.

@TZZack
TZZack / git_ssh_proxy.md
Last active July 30, 2024 16:24 — forked from chenshengzhi/git_ssh_proxy.md
git ssh 代理设置

vi ~/.ssh/config

# 端口号记得跟你的代理保持一致,clash可以在"常规"那里查看端口
ProxyCommand connect -S 127.0.0.1:7890 -a none %h %p

Host github.com
  User git
  Port 22
  Hostname github.com
 # 注意修改路径为你的路径