aws ssh key를 이용하여 접근시 에러 메시지
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
[root@xinet aws]# ssh -i INI-admin-keypair.pem centos@192.168.10.10 The authenticity of host '101.101.101.10 ()' can't be established. ECDSA key fingerprint is SHA256:ODTBK0WWIlq3+/ENm0wjkUXKflUd0p3SFqMZIyEVnGg. ECDSA key fingerprint is MD5:20:b4:42:a8:d1:86:11:d9:fa:c1:5b:a0:1f:a6:6e:14. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '101.101.10.10' (ECDSA) to the list of known hosts. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for 'INI-admin-keypair.pem' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key "INI-admin-keypair.pem": bad permissions Permission denied (publickey,gssapi-keyex,gssapi-with-mic |
퍼미션을 낮게 설정하고 접속하면 정상 접속이 된다
1 |
[root@xinet aws]# chmod 644 INI-admin-keypair.pem |