Amazon AWS EC2 Amazon Linux can't login as ec2-user
Amazon AWS EC2 Amazon Linux can't login as ec2-user
Can't login as ec2-user at Amazon Linux, it returns 'key refused', but if i log in as root it logs in, but says i need to login ec2-user. What to do?
Yes, I'm using Amazon Linux AMI 2018.03
– Jack Glow
Sep 1 at 19:58
What's the exact message you get when you try with ec2-user?
– Alessandro Cosentino
Sep 1 at 20:21
"Server refused our key". But when I log in as root it says only "Please login as the user "ec2-user" rather than the user "root"."
– Jack Glow
Sep 1 at 20:27
Have you tried these steps? aws.amazon.com/premiumsupport/knowledge-center/…
– Alessandro Cosentino
Sep 1 at 20:31
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Are you sure it's Amazon Linux and not some other AMI?
– Alessandro Cosentino
Sep 1 at 19:52