Skip to main content

SSH library for Java



Does anyone know of a good library for SSH login from Java.





Thanks, Ronen.


Comments

  1. The Java Secure Channel (JSCH) is a very popular library, used by maven, ant and eclipse. It is open source with a BSD style license.

    ReplyDelete
  2. I just discovered sshj, which seems to have a much more concise API than JSCH (but it requires Java 6). The documentation is mostly by examples-in-the-repo at this point, and usually that's enough for me to look elsewhere, but it seems good enough for me to give it a shot on a project I just started.

    ReplyDelete
  3. Take a look at the very recently released SSHD, which is based on the Apache MINA project.

    ReplyDelete
  4. Try using Ganymed SSH-2 for Java. It is available at http://www.cleondris.ch/opensource/ssh2/

    ReplyDelete
  5. There is a brand new version of Jsch up on github: https://github.com/vngx/vngx-jsch Some of the improvements include: comprehensive javadoc, enhanced performance, improved exception handling, and better RFC spec adherence. If you wish to contribute in any way please open an issue or send a pull request.

    ReplyDelete

Post a Comment