|
Just copy paste this in your .bashrc and invoke it by the command proxy
This is a secure authentication method:
function proxy(){
echo -n "username:"
read -e username
echo -n "password:"
read -es password
export http_proxy="http://$username:$password@proxy: port/"
export ftp_proxy="http://$username:$password@proxy: port/"
}
Last edited by coolmohitz; 2005-12-24 at 03:05 AM CST.
|