Authentication refused: bad ownership or modes for directory /root

  sre

May 3 14:01:30 localhost sshd[22672]: Authentication refused: bad ownership or modes for directory /root
解决:
chmod 700 /home/user/.ssh
chmod 600 /home/user/.ssh/authorized_keys

One Reply to “Authentication refused: bad ownership or modes for directory /root”

LEAVE A COMMENT

Captcha Code