2 回答
- 最新
- 投票最多
- 评论最多
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).
已回答 5 年前
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
已回答 5 年前
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前