2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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).
répondu il y a 5 ans
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
répondu il y a 5 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an