2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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).
beantwortet vor 5 Jahren
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
beantwortet vor 5 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren