To generate documentation from comments embedded in the source, javadoc can be run thus:
- Download and unpack the tar ball.
- cd jsch-0.1.36/src/com/jcraft/jsch/
- javadoc * -d ~/javadoc-jsch-0.1.36
I have uploaded a copy of thus generated doc here: http://www.asianlinux.org/documentation/javadoc-jsch/
An outdated javadoc version can be found too
JSCH Usage Examples
JSCH provide lots of sample code. However, I modified Exec.java to use either password or SSH identity (private key) for remote command execution. While Exec.java runs as a swing GUI app, my code is a CLI only code. I think it illustrates the important steps needed for getting remote command execution working
JSCH Users
Since JSCH is BSD licensed, it is hard to keep track of who is using JSCH. I found the following:
http://j-ftp.sourceforge.net/ (one could use jsch or j2ssh)
http://www.radinks.com/sftp/applet.php Sri Lanka based company uses JSCH for its SFTP applet
- Eclipse project (mentioned by jcraft)
- Ant use jsch (mentioned by jcraft)