A lot of AMI's don't let you log in as root. Try logging in as the user "ec2-user". ssh -i mypem.pem ec2-user@my-ip
AWS ssh requesting password
-
01-07-2022 - |
Question
I have just set up a new cloudLinux AMI instance on AWS and have correctly ssh in from my terminal with the key pair. However it is requesting a password for the instance which I have not set. Any thoughts on how to ascertain this password so I can get into the server?
ssh -i root@<--Instance Public IP -->
terminal requests password: ?????
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow