Allow ssh-agent to work when using sudo

mei 25, 2009 - Remco - server - sudo - ssh - subversion - Software

We maintain all of our server's /etc directories in subversion repositories and just disabled password logins on our subversion server. So that means you actually need ssh-agent to work when using sudo. This can be done by editting the /etc/sudoers file and adding the following line:

Defaults env_keep="SSH_AUTH_SOCK"



Ukraine x 1, Netherlands x 5, Germany x 1, France x 1, Romania x 1

If you found this post useful, funny or whatever, let us know without writing a full comment!

comments powered by Disqus

Latest Tweets