こんなエラーが出るとき
$ ssh -i key.pem ec2-user@ip-address
Connection closed by ip-address port 22
原因は単純で,デフォルトのユーザー名がec2-user
じゃなくてubuntu
.
なので,
$ ssh -i key.pem ubuntu@ip-address
でつながる.
Go to list of users who liked
More than 5 years have passed since last update.
こんなエラーが出るとき
$ ssh -i key.pem ec2-user@ip-address
Connection closed by ip-address port 22
原因は単純で,デフォルトのユーザー名がec2-user
じゃなくてubuntu
.
なので,
$ ssh -i key.pem ubuntu@ip-address
でつながる.
Register as a new user and use Qiita more conveniently
Go to list of users who liked