Just set the correct ownership and permissions
#chown root /root/.ssh && chmod 700 /root/.ssh
#chown root /root/.ssh/authorized_keys && chmod 600 /root/.ssh/authorized_keys
Error in log: Debian auth.log prints these lines:
Authentication refused: bad ownership or modes for file /root/.ssh/authorized_keys
Leave a comment