How do I log into my EC2 Linux Instance via Telnet Client?

0

I am able to telnet INTO my instance, and it is prompting me for a username and password.

However, now I am at a loss on ho to create said username and password to actually log in, or find the existing one. (if there is one assigned)

Hijak3k
asked 6 months ago415 views
1 Answer
0
Accepted Answer

There are no users with a pre-set password when an EC2 is initially stood up with an AMI.

To set one up, access your instance using SSH (or Instance Connect, or Systems Manager) as the default user - on Amazon Linux this is ec2-user

Elevate yourself to the root user sudo su -

Add a new user and set its password https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/s2-users-cl-tools

Enter this new user's credentials and password when you telnet to the EC2.

profile picture
EXPERT
Steve_M
answered 6 months ago
profile picture
EXPERT
reviewed 6 months ago
profile pictureAWS
EXPERT
reviewed 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions