sftp:ssh linux broken pipe,Connection Reset by Peer, bad ownership or modes for chroot directory "*"
修改一通令人绝望…
虽然不知道怎么回事,冰河姐姐我和搞的时候没改/etc/ssh/sshd_config里的东西好像那天也登陆了…
搜索了半天,发现一个很好的命令
tail -f /var/log/auth.log
发现bad ownership or modes for chroot directory “/var/www”
于是先
ChrootDirectory /home/sftplinke...
原创
2018-10-15 22:39:39 ·
2996 阅读 ·
0 评论