Thursday, July 3, 2014

cygwin wget setup proxy authentication

I am behind a corporate proxy server and needed to use wget to get some pages. This is from within cygwin. You can use command line options for wget to set the server and username/password. Or, you can set it up in the wgetrc configuration file. This file is located in the cygwin_install_dir/etc directory. I tried modifying the wgetrc under etc/defaults/etc but that did not work. These are the entries you need:

use_proxy = on
http_proxy=http://blah.company.com:80/
proxy_user=username
proxy_password=password

No comments:

Post a Comment