2 Answers
- Newest
- Most votes
- Most comments
0
On the 2nd command, you forgot the -i parameter before the pem file.
Try qualifying the path to the .pem file ($HOME/.ssh/montrealkey.pem, or something like that).
answered 5 years ago
0
Thanks for your reply! You are correct. I had tried -i in a previous attempt then switched to -v for a verbose explanation...showing how unskilled I am!
I did finally find a solution, although I do not know specifically what worked.
Just in case someone has similar issue I:
- re-downloaded .pem file
- moved it to ~/.ssh folder in my home folder (MacOS)
- chmod 400 .pem file
- removed server entry/line from 'known_hosts' file in ~/.ssh
- ssh'd using -i and providing full path to pem file
answered 5 years ago
Relevant content
- asked 2 years ago
- asked a year ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a year ago