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.