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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ