# Terminal VPN **Published by:** [ryanzzy.eth](https://paragraph.com/@ryanzzy/) **Published on:** 2021-10-07 **URL:** https://paragraph.com/@ryanzzy/terminal-vpn ## Content git 翻墙~/.gitconfig[http "http://github.com"] proxy = socks5://127.0.0.1:7899 [https "https://github.com"] proxy = socks5://127.0.0.1:7899 ssh 翻墙~/.ssh/configHost github.com AddKeysToAgent yes UseKeychain yes IdentityFile ~/.ssh/id_rsa ProxyCommand nc -v -x 127.0.0.1:7899 %h %p 命令行翻墙~/.zshrc# 需要重启命令行 export http_proxy='socks5://127.0.0.1:7899' export https_proxy='socks5://127.0.0.1:7899' ## Publication Information - [ryanzzy.eth](https://paragraph.com/@ryanzzy/): Publication homepage - [All Posts](https://paragraph.com/@ryanzzy/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@ryanzzy): Subscribe to updates - [Twitter](https://twitter.com/Amoyzzy): Follow on Twitter