AWS EC2 Connection closed by when trying ssh into instance

前端 未结 8 1077
猫巷女王i
猫巷女王i 2020-12-14 05:26

Recently I set up a new EC2 instance. The next day I was not able to connect to my instance via ssh. I could connect and disconnect the day before, I am sure I did nothing.

8条回答
  •  独厮守ぢ
    2020-12-14 05:53

    Please check your username. if you are using ubuntu instance try using "ubuntu" in username instead of "ec2-user", and vice-versa

提交回复
热议问题