5 ms·
Yeah I don’t really understand why when I ssh into a VM in the cloud I have to first connect as a static dummy username like ec2-user then sudo to root.
by zeroimpl 3y ago
Yeah I don’t really understand why when I ssh into a VM in the cloud I have to first connect as a static dummy username like ec2-user then sudo to root.
- effie 3y agoYeah. From http://ec2-downloads.s3.amazonaws.com/AmazonLinuxAMIUserGuide.pdf http://ec2-downloads.s3.amazonaws.com/AmazonLinuxAMIUserGuid... : > To prevent remote root exploits, the Amazon Linux AMI does not allow remote root login via SSH[...] By default, the only account that can log in remotely via SSH is ec2-user. The ec2-user has sudo privileges. Can someone please explain how this makes any sense for better security. It seems to be just a security theater.