以下の内容はhttps://end0tknr.hateblo.jp/entry/20200830/1598774367より取得しました。


centos8 on aws へ ssh する際のlogin user は、centos

以下の通り、user=centos であれば、ssh可能です

$ ssh -i ~/.ssh/end0tknr_202008.pem centos@18.183.233.???
Activate the web console with: systemctl enable --now cockpit.socket

Last login: Sun Aug 30 07:53:17 2020 from 61.24.125.???
[centos@ip-172-31-6-60 ~]$ 

ちなみに、os=amazon linux2 のように ec2-user を利用すると、エラーとなります

$ ssh -i ~/.ssh/end0tknr_202008.pem ec2-user@18.183.233.???
ec2-user@18.183.233.???: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

更に、root で ssh接続しようとすると、user=centosの利用を促されます

$ ssh -i ~/.ssh/end0tknr_202008.pem root@18.183.233.???
Please login as the user "centos" rather than the user "root".

Connection to 18.183.233.??? closed.
$ 



以上の内容はhttps://end0tknr.hateblo.jp/entry/20200830/1598774367より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14