常用http/https以及socks5代理总结 - wanlifeipeng - 博客园
www.cnblogs.com › hupeng1234 › pIn a proxy string, socks5h:// and socks4a:// mean that the hostname is resolved by the SOCKS server. socks5:// and socks4:// mean that the hostname is resolved locally socks5(本地解析hostname) $export HTTPS_PROXY=socks5://127.0.0.1:1080 $curl https://www.google.com curl: (51) SSL: certificate subject name (www.beforeprom.com) does not match target host name 'www.google.com'
complete ways to set http/socks/ssh proxy environment ...
gist.github.com › yougg › 5d2b3353fc5e197a0917aae0bDec 21, 2021 · set http or socks proxy environment variables. # set http proxy export http_proxy=http://PROXYHOST:PROXYPORT # set http proxy with user and password export http_proxy=http://USERNAME:PASSWORD@PROXYHOST:PROXYPORT # set http proxy with user and password (with special characters) export http_proxy=http:// `urlencode 'USERNAME'`: `urlencode 'PASSWORD'` @PROXYHOST:PROXYPORT # set socks proxy (local DNS) export http_proxy=socks5://PROXYHOST:PROXYPORT # set socks proxy (remote DNS) export ...
Mac终端代理和git代理设置 - 简书
https://www.jianshu.com/p/205aff65954a08.03.2019 · 你也可以单独给git设置代理. alias agent="git config --global http.proxy socks5://127.0.0.1:1086;git config --global https.proxy socks5://127.0.0.1:1086;git config --global http.sslVerify false" alias unagent="git config --global --unset http.proxy;git config --global --unset https.proxy" 或者 alias agent="git config --global http ...
Mac终端代理和git代理设置 - 简书 - 简书 - 创作 ...
www.jianshu.com › p › 205aff65954aMar 08, 2019 · 你也可以单独给git设置代理. alias agent="git config --global http.proxy socks5://127.0.0.1:1086;git config --global https.proxy socks5://127.0.0.1:1086;git config --global http.sslVerify false" alias unagent="git config --global --unset http.proxy;git config --global --unset https.proxy" 或者 alias agent="git config --global http ...