View Single Post
  #15  
Old 2005-09-03, 01:16 PM CDT
coolmohitz Offline
Registered User
 
Join Date: Jan 2005
Posts: 8
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.
Reply With Quote