常用软件的代理设置2011-11-17emacs Linux org2blog tools约 99 字 预计阅读 1 分钟文章目录【注意】最后更新于 November 17, 2011,文中内容可能已过时,请谨慎使用。 1 2 3 4 5 6 7 8 9 10 11 # http_proxy export http_proxy=host:port # https_proxy export https_proxy=host:port # ftp_proxy export ftp_proxy=host:port # rsync proxy export RSYNC_PROXY=host:port 1 2 3 4 5 6 7 8 9 # ssh over http_proxy depends on your tools used. # Modify .ssh/config file for host configuration: # Following are connect.c and corkscrew example. # For connect.c, -h option means use http_proxy # environment. Host * ProxyCommand corkscrew http-proxy.example.com 8080 %h %p ProxyCommand connect -h %h %p ProxyCommand connect -H proxy-host:proxy-port %h %p 1 2 # git over http_proxy export GIT_PROXY_COMMAND="connect -h $@" 文章作者 Chen, Zai-Chun上次更新 2011-11-17许可协议 CC BY-NC-ND 4.0