No Sudo Password With SSH authorized_keys
Contents
Tired of typing in the password for the user to run sudo commands when you are connected and authorized with SSH key? This is what you have to do
Make/edit /etc/sudoers.d/09-sudo-group
Enter the following at the bottom of the file:
%sudo ALL=(ALL) NOPASSWD: ALL
Save and quit the file.
Success
That’s it! Enjoy password free sudo!