简体   繁体   中英

apt-get behind a proxy with authentication

I have a very weird problem.I am in an university and we are supposed to connect to this proxy server.And everytime we connect we are supposed to enter our username and passwrod(LDAP).Here starts the problem.My password has a '@' symbol in it.And when I modify the/etc/apt/apt.conf it looks something like this

Acquire::http::proxy "http://:xx@xxxx@10.1.9.36:8080/"

where xx@xxxx is the password...but obviously this is not right! It tries to connect to the url after the first @..ie xxxx@10.1.9.36

What am I doing wrong here..

Try URL encoding your password's @ sign?

@ == %40

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM