虚位以待(AD)
虚位以待(AD)
首页 > 脚本专栏 > linux shell > 完美解决Linux搭建sftp出现Write failed:Broken pipe的问题

完美解决Linux搭建sftp出现Write failed:Broken pipe的问题
类别:linux shell   作者:码皇   来源:互联网   点击:

下面小编就为大家带来一篇完美解决Linux搭建sftp出现Write failed:Broken pipe的问题。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧

sftp aibamui@127.0.0.1

输入密码后出现:

Write failed :Broken pipe
Couldn't read packet : Connection reset by peer

解决方法:

chown root:sftp /data/files  <---貌似最关键的就是这个所有者,要是root才行?
chomod 755 /ssr/files

以上这篇完美解决Linux搭建sftp出现Write failed:Broken pipe的问题就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持脚本之家。

相关热词搜索: linux sftp 搭建