Pass-less ssh auto-login problem
Posted on In QAI configured the Linux password-less automatic ssh login as in this post . However, it still does not work for me. Any method to check it?
The log in log
/var/log/secure
may give some clue on it.
For example:
Aug 20 23:16:10 doppler sshd[11143]: Authentication refused: bad ownership or modes for directory /home/useraaa
tells us that the modes for the home directory of useraaa is wrong.
We may set it to 700:
# chmod 700 /home/useraaa
Also remember to disabled SELinux: https://www.systutorials.com/b/linux/1233/disable-selinux-in-fedora/
For l0sys, don’t forget to run “ssh-copy-id portal_host_username@port_host”.