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
질문됨 6달 전429회 조회
1개 답변
0
수락된 답변

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
전문가
Steve_M
답변함 6달 전
profile picture
전문가
검토됨 6달 전
profile pictureAWS
전문가
검토됨 6달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠