且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Jsch错误返回代码不一致

更新时间:2023-10-25 14:54:22

我放弃了Jsch - 以及它令人难以置信的无用API并切换到:

I gave up on Jsch - and its incredibly unhelpful API and switched to:

http://www.cleondris.ch/opensource/ssh2/

(Ganymede SSH2)。
我在JVM中使用ssh做了很多工作,经过几个月的24小时使用,ganymede已经证明更加可靠。而且更愉快。我主要的抱怨是显然无法为SCP设置超时。

(Ganymede SSH2). I do a LOT with ssh in the JVM and over months of 24 hour usage ganymede has proven far more reliable. And more pleasant. My main remaining gripe is around being apparently unable to set timeouts for SCP.