1050
Comment:
|
1249
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
[http://jsourcery.com/output/jcraft/jsch/0.1.23/index.html An outdated javadoc version can be found too] |
|
Line 13: | Line 15: |
* [http://www.beanizer.org/site/content/view/31/29/lang,en/ JSCH Tunnel Example] |
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/ http://www.asianlinux.org/documentation/javadoc-jsch/]
[http://jsourcery.com/output/jcraft/jsch/0.1.23/index.html 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
[http://www.beanizer.org/site/content/view/31/29/lang,en/ JSCH Tunnel Example]
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)
Jcraft mentions:
- Eclipse project
- Ant use jsch