Then you need to set https_proxy instead.
Code:
http_proxy=https://user:passwd@proxy.foo.com:portnumber
https_proxy=https://user:passwd@proxy.foo.com:portnumber
export http_proxy
export https_proxy
Always providing that the proxy requires an ssh encrypted http request. Usually, an https request is asking the proxy for connection to a secure web page. So check. Also check the authentication part.
There is a discussion about this
here.
Quote:
Having a proxy configured to answer on a secure socket would add nothing to the security of the proxied connection.
|