AWS EC2 SFTP access with root permissions (WinSCP)

I need 10 reputation to convert this question to an answer to this other question. My answer would be: For a November 2019 AWS EC2 Ubuntu 18.04 server AMI, the default ubuntu user is already configured for password-less sudo. Check /etc/sudoers.d/90-cloud-init-users, which contains (in my case): # Created by cloud-init v. 19.2-36-g059d049c-0ubuntu1~18.04.1 on Wed, 27…

Details