Written by reacuna the 17 Apr 09 at 14:29.
Category: Server.
Related project:
Nothing/Others.
Status: New
Rationale
It's very common to log in to a remote server using SSH and then performing administrative tasks using sudo. However, the most common usage scenario for sudo is that it asks for a password. Though it is possible to disable the password prompt in sudo, this creates security problems.
I'm referring to your second option... to be able to use sudo with a password OR the key. That way, using the ssh-agent from the client, it would be possible to authenticate to sudo in the server, thus not requiring a password, but being able to use sudo "securely".