适用于 Android 的 SSH Java 库? [英] SSH Java-library for Android?
问题描述
我正在尝试为 Android 创建一个应用程序,该应用程序只需将命令发送到 SSH 服务器.不需要响应,我只需要能够发送命令.我想知道是否有任何我可以使用的 Java 库?
不需要任何高级的东西,只需要一个纯粹的连接来发送命令.
您正在寻找 JSch.
其他库是 jaramiko、paramiko, trilead-ssh2.您可以浏览 trilead 源代码的地方是 connectbot 项目.请注意,connectbot 也使用这个未维护的库.
它还存在一个商业 SSH Java 库:J2SSH Maverick >
注意:答案因评论而重构.
I'm trying to create an app for Android that simply sends a command to an SSH server. No response needed, I just need to be able to send a command. I was wondering if there's any java library out there that I could use?
No advanced stuff needed, just a pure connection to send the command.
You are searching for JSch.
Other libs are jaramiko, paramiko, trilead-ssh2 . A place where you can browse the source for trilead is the connectbot project. Please notice that connectbot also uses this unmaintained lib.
It also exists a commercial SSH Java lib: J2SSH Maverick
Note: Answer refactored due to comment.
这篇关于适用于 Android 的 SSH Java 库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!