Add authenticated proxy to terminal based applications
aboSamoor | October 5, 2008 | 11:28 amMy friend Mustafa talked about adding proxy as environment variable by exporting the http proxy server in a previous post.
I another problem,found what about a proxy server that needs authentication ? There is no problem if the application read the Gnome/KDE proxy settings because you can add the authentication parameters easily there, the problem comes from wget and other terminal based programs…
This may help you
export http_proxy="http://username:password@Proxy_IP_address:Proxy_port"
and this for ftp server
export ftp_proxy="ftp://username:password@Proxy_IP_address:Proxy_port"
to make them permanent you have to add the above lines to /etc/bash.bashrc, you can make user specific by adding the lines to /home/user/.bashrc instead of the main .bashrc






Hmm interesting but man i was wondering is there
sameer asal | October 6, 2008 | 8:52 pmHmm
interesting
but man i was wondering
is there some way to make it ask for proxy configuration from the System proxy configuration??
it is really annoying when you work in different places.