JSch - Java Secure Channel

JSch is a pure Java implementation of SSH2. JSch allows you to connect to an sshd server and use port forwarding, X11 forwarding, file transfer, etc., and you can integrate its functionality into your own Java programs. JSch is licensed under a BSD style license.

JSch 0.1.55 is the final release from JCraft. Active development now continues in the community fork at https://github.com/mwiede/jsch.

Why JSch?

Originally, our motivation to develop JSch was to allow users of our pure Java X servers, WiredX, to enjoy secure X sessions. So, our efforts mostly targeted implementing the SSH2 protocol for X11 forwarding. Of course, however, we are now also interested in adding other functionality like port forwarding, file transfer, terminal emulation, etc.

SSH2

Needless to say, SSH provides support for secure remote login, secure file transfer, and secure TCP/IP and X11 forwarding. It can automatically encrypt, authenticate, and compress transmitted data. The SSH protocol is available in two incompatible varieties: SSH1 and SSH2. SSH2 was invented to avoid the patent issues regarding RSA (RSA patent has expired), and to fix some data integrity problems that SSH1 has, and for a number of other technical reasons. The SSH2 protocol has been standardized by the IETF Secure Shell working group and drafts related to the SSH2 protocol are available on the web. In developing JSch, we are now referring to the following documents:

Features

The current JSch has the following features.

How To Try

The downloadable archive includes the source code of JSch and some examples. For example, the current archive includes a simple Java program, which demonstrates X11 forwarding. Please refer to the '/examples/README' file. Here are examples included in the current archive.

Applications using JSch

We are aware that the following applications use JSch.

Download

Maven Repository

Related Programs

Mailing List

Presentations

Credits and Acknowledgements

JSch has been developed by ymnk and it could not have been developed without help from many people.

Comments/suggestions are accepted at jsch@jcraft.com.

``SSH is a registered trademark and Secure Shell is a trademark of SSH Communications Security Corp (www.ssh.com)''.