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 a year ago
Relevant content
- asked 5 years ago
- asked 2 months ago
- asked 18 days ago
- asked a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 8 months ago
i checked the .ssh/ directory, the key exists !