How to do rsync via http proxy


How to do rsync via proxy

Assuming we do HTTP_PROXY something like below

export HTTP_PROXY=http://user:password@proxyhost:port

Then for Rsync do the following

export RSYNC_PROXY=user:password@proxyhost:port

then start your rync command