I have a deb repository accessible with ssh (following instructions from this site). I use the ssh-public-key-based authentication to access the repository server.
How I can configure apt-get on clients to make it use a private key to connect to the repo? How to configure apt-get to use ssh-agent?
Whenever I call
sudo apt-get update on a client machine, I need to provide a password for vagrant user. The source.list on the client machines:
deb ssh://[email protected]:/ precise main
sudo ssh [email protected]
Works after following instructions on making
sudo work with ssh-agent.
sudo apt-get update does not.