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 $@"