Feb 25 06:36:50 ns5 sshd[26681]: Authentication refused: bad ownership or modes for file /home/user/.ssh/authorized_keys2How do I fix this problem?
You need to set correct permission on server. Login to your account using passwod. Once logged in type the following command to fix this issue:
chmod 0644 ~/.ssh/authorized_keys2Now, you should able to login using ssh keys from your workstation or other servers.
No comments:
Post a Comment