Self-promoting my project: after looking at other Java-based Expect libraries, I decided to write my own... hope you find it useful. Please open issues in GitHub if you find any problem.
Yes, it's possible. There are some libraries, but I suggest Ganymed SSH-2. You can download it here, and there are also a lot of examples of using functions...
发布评论
评论(3)
自我推销我的项目:在查看了其他基于 Java 的 Expect 库之后,我决定编写自己的......希望您发现它有用。如果发现任何问题,请在 GitHub 中打开问题。
https://github.com/ronniedong/Expect-for-Java
对于 SSH,我建议使用 JSch,如下所示自述文件中的示例。
Self-promoting my project: after looking at other Java-based Expect libraries, I decided to write my own... hope you find it useful. Please open issues in GitHub if you find any problem.
https://github.com/ronniedong/Expect-for-Java
For SSH, I suggest using JSch, as the example in the readme file.
是的,这是可能的。有一些库,但我建议使用 Ganymed SSH-2。你可以在这里下载它,还有很多使用函数的例子...
Yes, it's possible. There are some libraries, but I suggest Ganymed SSH-2. You can download it here, and there are also a lot of examples of using functions...
尝试ExpectJ。
Try ExpectJ.