Z
Z
zetter2016-05-16 23:52:01
ubuntu
zetter, 2016-05-16 23:52:01

How to configure user authorization when connecting to the reprepro repository?

I set up the reprepro repository for mana: https://www.digitalocean.com/community/tutorials/h...
Everything works, everything is fine.
Set up authorization by login/password for the virtual host (so that left-wing citizens would not get into port 80)
How can I configure authorization of the repository clients themselves by login/password or by key?
PS: the repository is private, for internal use of the organization with its packages.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri Chudnovsky, 2016-05-17
@Frankenstine

You can make access to the repository through a proxy with authorization. The password will be written on the clients in plaintext in the http::Proxy settings in apt.conf.
Perhaps you just need to specify http://[[user][:pass]@]host[:port]/ in the apt settings and everything will work as with proxy. Optionally, you can use ftp with authorization (just like with http), but remember that the password will be transmitted over the network in cleartext.

Z
zetter, 2016-05-17
@zetter

how else can it be done differently? (that is, not through ftp and proxy) - perhaps there are such options who knows

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question