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.
已回答 1 年前
相關內容
- 已提問 6 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
i checked the .ssh/ directory, the key exists !