A
A
Alexander Shapoval2017-08-09 16:52:21
linux
Alexander Shapoval, 2017-08-09 16:52:21

How to register a proxy with login/password?

I have Linux Mint 17.2, in the network settings there is a proxy setting with fields for entering IP and port. How to specify the login password there?
Tried this option: [email protected]:pass doesn't work. Now I just registered the IP and port, when I enter the browser it asks me to enter my login / password, how to make it so that it would not ask and work on all programs, respectively?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Dubrovin, 2017-08-09
@z3apa3a

Standard for URI login:[email protected]

D
Denis, 2017-08-10
@denilenko

On Ubuntu (14 LTS like) did this:

gsettings set org.gnome.system.proxy use-same-proxy 'true'
gsettings set org.gnome.system.proxy.http authentication-password 'PASSWORD'
gsettings set org.gnome.system.proxy.http authentication-user 'USERNAME '
gsettings set org.gnome.system.proxy.http host 'PROXY_IP'
gsettings set org.gnome.system.proxy.http port 'PROXY_PORT'
gsettings set org.gnome.system.proxy.http use-authentication 'true'
gsettings set org.gnome.system.proxy.http enabled 'true'
export http_proxy= http://USERNAME:[email protected]_IP:PROXY_PORT/
export https_proxy= https://USERNAME:[email protected]_IP:PROXY_PORT/
/etc/apt/apt. conf
Acquire::http::proxy " http://USERNAME:[email protected]_IP:PROXY_PORT/";
Acquire::https::proxy " https://USERNAME:[email protected]_IP:PROXY_PORT/ ";
Acquire::ftp::proxy " ftp://USERNAME:[email protected]_IP:PROXY_PORT/ ";
Acquire::socks ::proxy "socks://USERNAME:[email protected]_IP:PROXY_PORT/";
Acquire::::proxy "true";

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question