SSH Java库的Android? [英] SSH Java-library for Android?
问题描述
我正在尝试为Android创建一个仅向SSH服务器发送命令的应用程序。无需响应,我只需要能够发送命令。我想知道是否有任何可以使用的Java库。
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.
推荐答案
您正在搜索 JSch 。
其他库是 Paramiko 或 Trilead SSH lib 。您可以浏览trilead来源的位置是 connectbot项目。请注意,connectbot也使用这个unmaintained lib。
Other libs are Paramiko or Trilead SSH lib. A place where you can browse the source for trilead is the connectbot project. Please notice that connectbot also uses this unmaintained lib.
它还存在一个商业SSH Java库: J2SSH Maverick
It also exists a commercial SSH Java lib: J2SSH Maverick
注意:由于注释,回答重构。
Note: Answer refactored due to comment.
这篇关于SSH Java库的Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!