SSH EC2 asking for password

后端 未结 16 1561
伪装坚强ぢ
伪装坚强ぢ 2020-12-24 05:45

I\'ve just setup my EC2 server following this video here exactly - http://www.youtube.com/watch?v=bBajLxeKqoY

I even chose the same server type, everything went well

16条回答
  •  天涯浪人
    2020-12-24 06:42

    In case someone else bumps into this, the solution for my problem was that I had to run it with sudo:

    sudo ssh -i my-pem-file.pem root@my-ec2-instance-address
    

提交回复
热议问题