It is found that although a machine has established a trust relationship, it still cannot log on through the trust relationship, checking many places .... 1 ,~ /. Ssh directory permission 2 ,~ /. Ssh/file permissions 3. a public key is generated on the client and uploaded to the server. the client still cannot log on to the trusted link. 4. check the permission...
It is found that although a machine has established a trust relationship, it still cannot log on through the trust relationship, checking many places ....
1 ,~ /. Ssh directory permission
2 ,~ /. Ssh/File permission
3. a new public key is generated on the client and uploaded to the server. the client still cannot log on to the trusted link.
4. check the content of the/etc/ssh/sshd_config file.
5. I almost had to restart sshd (for fear of influencing others, attempted)
6. baidu search
No results.
------------------------------------------- Solution -------------------------------------------
Suddenly I checked the/var/log/secure log. Wow, I finally found the reason. it turns out that the user's main directory permission does not meet the requirements. after chmod, OK
------------------------------------------- End --------------------------------------------------
Author: "a sa's work and learning Records"