SSH 접속시 - permissions 0xxx for are too open 오류 발생시

Dev Tips/xUnix|2020. 4. 17. 17:58

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
Permissions 0644 for './***.pem' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: ./***.pem
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

 

 

아래 명령어로 해결하면 된다.

chmod 600 ~/.ssh/***.pem

 

댓글()