ssh not working

0

hello, i have an instance that SSH not working, the problem is with EBS, when i attach another EBS its working!

asked a year ago198 views
1 Answer
0

Hi, there is a likelihood that you don't have your SSH Public Keys added to /home/<UserName>/.ssh/authorized_keys. You may attached the non working EBS to the working EC2, mount it to a folder, and update the /<MountedFolder>/home/<UserName>/.ssh/authorized_keys.

Replace <MountedFolder> with the folder on working EC2, and <UserName> with the login username of non working EC2.

profile picture
answered a year 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