I'm reading this tutorial for creating a local repo.
Now, I want to make my repo private, so only if you provide a username/password then should you be able to access the Debian package.
How do I do that?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityI'm reading this tutorial for creating a local repo.
Now, I want to make my repo private, so only if you provide a username/password then should you be able to access the Debian package.
How do I do that?
You configure your web server, FTP server, etc.—whatever you're using to share the repository with other machines—to require authentication.
The repository is just a bunch of files that your web server (typically) serves; there isn't really anything special about it. So you configure authentication the normal way for whichever web server you're using.