On Mon, Jan 26, 2009 at 2:56 PM, narendran krishnan
<[email protected]> wrote:
> I am trying to make wget work from behind a proxy. i have set the
> proxy in 'http_proxy' environment variable and using this command
>
> wget --proxy-user="myname" --proxy-passwd="passwd"
> http://www.iitm.ac.in/downloads/newsupdates/GJ%20&%20Research%20Park.ppt

It's not advisable to pass username/passwords in the command
line for any application.  Anyone running "ps" can see the entire
command line and thus know your password.

Instead set the username/password in your http_proxy, ftp_proxy
environment variables themselves like this:

export http_proxy="http://username:passw...@hostname:port";
export ftp_proxy="http://username:passw...@hostname:port";

Don't type the above in your bash prompt, put it in a shell
script or your .bash_profile and set appropriate file permissions.

- Raja
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to