I'm asked far too often for my sudo password by TRAMP.
1 Answer
TRAMP only asks for the password when sudo requires it to ask. If you want to configure how sudo works, then read the manual page for sudo.
TRAMP only asks for the password when sudo requires it to ask. If you want to configure how sudo works, then read the manual page for sudo.
authinfo.gpg
. Add the following linemachine localhost login root port sudo password SECRET
.machine localhost login USER port sudo password SECRET
, withUSER
being your local user name..