2 Answers
- Newest
- Most votes
- Most comments
0
Is the private key used for ssh correct?
Also, what are the permissions on "/Users/amirali/.ssh"?
If permissions are too open, an error may occur.
Try changing the permissions with the following command.
chmod 700 /Users/amirali/.ssh
0
Have you tried prefixing your .pem filename with ./
The Lightsail documentation here mentions, not prefixing with ./
won't work.
answered 10 months ago
Relevant content
- asked a year ago
- asked 7 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago