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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南