长虫山小木屋

没有谁会为你踏雪而来 喜欢的风景要躬亲筚路

  博客园  :: 首页  :: 新随笔  :: 联系 ::  :: 管理
cd .ssh
chmod 600 authorized_keys

还是不行,看日志

tail -f /var/log/auth.log

bad ownership or modes for directory /root

去根目录

chown root.root root

再试可以了

posted on 2022-04-02 12:04  长虫山小木屋  阅读(205)  评论(0编辑  收藏  举报