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!

已提问 1 年前204 查看次数
1 回答
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
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则