SFTP via JSch is throwing error 4: Failure

故事扮演 提交于 2019-12-03 11:49:16

I was facing the same issue. Please make sure that your SFTP service is running. And If it is already running then restarting this service should do the trick.

I had the same issue. Tried everything, turns out I had set the timeout to what I thought was 30s but it was actually 30ms. Changing it to 30000ms solved the issue.

session.setTimeout(30000);
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!