Phani Kumar
Phani Kumar

Reputation: 505

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@[email protected]:8080/"

where xx@xxxx is the password...but obviously this is not right! It tries to connect to the url after the first @..i.e [email protected]

What am I doing wrong here..

Upvotes: 0

Views: 1135

Answers (1)

synthesizerpatel
synthesizerpatel

Reputation: 28036

Try URL encoding your password's @ sign?

@ == %40

Upvotes: 1

Related Questions