View Single Post
  #15  
Old 3rd September 2005, 09:16 PM
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; 24th December 2005 at 12:05 PM.
Reply With Quote