etc

ssh autologin fail

칩쟁이 2022. 9. 24. 14:54

영어는 구글 번역기를 이용한 글이다.

English is written using Google Translate.

ssh autologin을 위해 authroized_keys를 등록해도, password를 확인하는 경우가 있다.

Even if authroized_keys is registered for ssh autologin, the password may be checked.

이러한 경우 사용자의 디렉토리의 권한을 확인해보자.

In this case, check the permissions of the user's directory.

$ ls -al
drwxrwxr-x ...
...

사용자 계정 디렉토리 permission 값이 0x750을 over하면 password를 확인 한다.

If the user account directory permission value exceeds 0x750, check the password.

 

$ chmod 750 ${USER_ACCOUNT}