SSH传输报错的解决办法
url: http://blog.youkuaiyun.com/raphero/article/details/6722851
SSH出现以下错误:Exit value 0 was returned. Most likely the sftp-server is not in the path of the user on the server-side
解决办法:
查看/etc/ssh/sshd-config文件的最后一行是否正确:
Subsystem sftp /usr/libexec/openssh/sftp-server
路径应为实际sftp-server的路径,修改过来就好了!
ssh终端可上,就是sftp连不上
url: http://blog.sina.com.cn/s/blog_650463380100qp7f.html
http://www.linuxsir.org/bbs/thread322004.html
在WIN中用SSH登录系统也没问题,可是就是不能用来传输文件。
总是出错,提示信息为:
"File transfer server could not be started or it exited unexpectedly.
Exit value 0 was returned. Most likely the sftp-server is not in the path of the user on the server-side."
解决办法:
但有一个问题:加上上面一行后,确实是可以传输文件了,但我的一个程序可能不能运行了,提交任务后,没执行就停了!屏蔽那条后,任务又可以提交了