LoginSignup
0
0

More than 5 years have passed since last update.

AWS CentOS 7にSSHで初回接続エラーが出る時の対応

Last updated at Posted at 2017-03-08

現象

以下のようなエラーが発生することがある。

Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

インスタスを作成し直したり、証明書を新規に用意しても発生する。

原因

これの原因は、ssh接続時に指定しているユーザー名が間違っている可能性がある。
EC2で作成した仮想マシンのユーザー名は、ec2-userだと思い込んでいたら、
CentOSは、ユーザー名centosだった(´Д` )

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0