1 Answer
- Newest
- Most votes
- Most comments
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.
answered 2 years ago
Relevant content
- asked 3 months ago
- asked 5 months ago
- asked 2 years ago
- asked 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
i checked the .ssh/ directory, the key exists !