2 Respuestas
- Más nuevo
- Más votos
- Más comentarios
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).
respondido hace 5 años
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
respondido hace 5 años
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace 7 meses
- OFICIAL DE AWSActualizada hace 3 años