How do I use cygwin behind the corporate firewall

后端 未结 5 971
北恋
北恋 2020-12-12 16:19

I\'m in a Microsoft IE environment, but I want to use cygwin for a number of quick scripting tasks.

How would I configure it to use my windows proxy information? Ru

5条回答
  •  时光取名叫无心
    2020-12-12 16:51

    If I just use what Vlax and Mohsen Nosratinia suggested (export http_proxy=http://yourusername:yourpassword@host:port/), it will only work half of the programs (some of the installs will work but not all) for my company.

    By adding another line it will work for all (maybe most) at least in my situation.

    export http_proxy=http://yourusername:yourpassword@host:port/
    export https_proxy=$http_proxy
    

提交回复
热议问题