File transfer server could not be started or it exited unexpectedly.

某一天,使用SSH连接服务器正在查看服务器,然后传文件,发现提示:

File transfer server could not be started or it exited unexpectedly.

Exit value 0 was returned.

报这个错误,竟然不能传文件!
哎!就开始仔细想啊!我都做过什么操作!

忽然想起来在/etc/profile.d/下增加了一个脚本:auto.sh

删除这个脚本,ok没问题了!

问题解决了,还没想到是为什么呢!
可能是跟.bashrc有关系!

本文出自 “bad egg” 博客,转载请与作者联系!

你可能感兴趣的:(server,File,职场,it,or,休闲,Transfer,could,be,not,exited,Started,unexpectedly.)