cd .ssh chmod 600 authorized_keys
还是不行,看日志
tail -f /var/log/auth.log bad ownership or modes for directory /root
去根目录
chown root.root root
再试可以了
cd .ssh chmod 600 authorized_keys 还是不行,看日志 tail -f /var/log/auth.log bad ownership or modes for directory /root 去根目录 chown root.root root
再试可以了 |