The use of a fixed root password for a public AMI is a security risk which can be quickly identi c a text editor to open/etc/ssh/sshd_config and locate the following line:#PermitRootLogin yes
Replace this line with: PermitRootLogin without-password ==> A 'No' should suffice ideally.