Projects / Ganymed SSH-2 for Java

Ganymed SSH-2 for Java

Ganymed SSH-2 for Java is a library that implements the SSH-2 protocol in pure Java (tested on J2SE 1.4.2, 5, and 6). It allows one to connect to SSH servers from within Java programs. It supports SSH sessions (remote command execution and shell access), local and remote port forwarding, local stream forwarding, X11 forwarding, SCP, and SFTP. There are no dependencies on any JCE provider, as all cryptographic functionality is included.

Operating Systems

Recent releases

  •  23 Aug 2010 13:11

    Release Notes: An important fix was made. Due to the slightly changed semantics of Thread.interrupt() and Object.wait() in JDK 6, the code had to be adapted in several places. You should not use the older build250 on JDK 6, as the Kex and Streamgobbler code may occasionally consume all CPU resources.

    •  15 Mar 2010 14:52

      Release Notes: The code is once again maintained by its original author. This release includes all the fixes and improvements that accumulated since 2006: fixes for the default platform character encodings, workarounds for buggy SSHD servers, improved behavior when catching an InterruptedException, support for sending SSH_MSG_IGNORE packets, support for the "none" authentication method, revised SHA-1 code (with optimizations that should more than double speed), fixes for the SFTP code, and many more.

      •  06 Oct 2006 17:14

        Release Notes: This release has support for SFTP v3, HTTP proxies, connection monitoring, improved port forwarding, better compatibility for the Diffie-Hellman group exchange, and enhancements in the SCP code.

        •  15 Feb 2006 15:58

          Release Notes: This is a major release. The channel code has been rewritten from scratch. X11 and remote port forwarding have been added. Various small changes were made.

          •  07 Dec 2005 15:34

            Release Notes: The main change is the addition of preliminary X11 and remote port forwarding support. Also, a more powerful condition-wait interface was implemented. The channel code was cleaned up.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.