https://phpraxis.wordpress.com/2016/09/27/enable-sudo-without-password-in-ubuntudebian/
- Access with SSH key;
- VSCode remote access with SSH
- Enable "tab" indentation in VSCode, to avoid damage to sudo configuration;
- Create and open SSH remote access with VSCode;
- Open
/etc/sudoers
- Add the following line at the end of the file (DO NOT USE SPACE, ONLY REAL "TABs", one per column):
username ALL=(ALL) NOPASSWD:ALL
- Now your SUDO works without a password, change the password and remove or comment out the line entered to maintain security.