exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 184 discussion

Exam question from Amazon's AWS-SysOps
Question #: 184
Topic #: 1
[All AWS-SysOps Questions]

A user is trying to connect to a running EC2 instance using SSH. However, the user gets a Host key not found error. Which of the below mentioned options is a possible reason for rejection?

  • A. The user has provided the wrong user name for the OS login
  • B. The instance CPU is heavily loaded
  • C. The security group is not configured properly
  • D. The access key to connect to the instance is wrong
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
If the user is trying to connect to a Linux EC2 instance and receives the Host Key not found error the probable reasons are:
The private key pair is not right
The user name to login is wrong

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Finger41
2 years ago
Selected Answer: A
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html
upvoted 2 times
albert_kuo
9 months, 2 weeks ago
If you connect to your instance using SSH and get any of the following errors, Host key not found in [directory], Permission denied (publickey), Authentication failed, permission denied, or Connection closed by [instance] port 22, verify that you are connecting with the appropriate user name for your AMI and that you have specified the proper private key (.pem) file for your instance.
upvoted 1 times
...
...
waterzhong
2 years ago
it is A Error: Permission denied or connection closed by [instance] port 22 If you connect to your instance using SSH and get any of the following errors, Host key not found in [directory], Permission denied (publickey), Authentication failed, permission denied, or Connection closed by [instance] port 22, verify that you are connecting with the appropriate user name for your AMI and that you have specified the proper private key (.pem) file for your instance. The appropriate user names are as follows: For Amazon Linux 2 or the Amazon Linux AMI, the user name is ec2-user.
upvoted 1 times
...
xxxdolorxxx
2 years, 8 months ago
My vote goes to A
upvoted 1 times
...
Drey
2 years, 9 months ago
A. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html
upvoted 2 times
...
awscertified
2 years, 9 months ago
A. The user has provided the wrong user name for the OS login
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...