Answer by Liam Dawson for sudo without password when logged in with SSH...
The option to do so has existed since (at least) April 2014.You will need to install a package called pam_ssh_agent_auth (available for Centos 7 out of the box, YMMV), then configure /etc/pam.d/sudo to...
View ArticleAnswer by user254777 for sudo without password when logged in with SSH...
A couple of answers Point to sudo without a seperate user Password. You should be Aware that this will decrease your security.For a user that already authenticated strongly with a certificate this...
View ArticleAnswer by Dagon for sudo without password when logged in with SSH private keys
This is not possible without some serious code changes to sudo and sshd. Sudo doesn't know about login methods, and ssh doesn't publish to other programs anything that would indicate whether public...
View Articlesudo without password when logged in with SSH private keys
Is it possible to make sudo command to support SSH private keys, so that when the user logins using a private key then he/she could sudo without typing a password.This would allow storing the UNIX...
View Article