Differences between revisions 2 and 3
Revision 2 as of 2007-11-28 12:41:40
Size: 1050
Editor: ?anandvaidya
Comment:
Revision 3 as of 2007-11-28 12:44:19
Size: 1249
Editor: ?anandvaidya
Comment:
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:

[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

JSCH Users

Since JSCH is BSD licensed, it is hard to keep track of who is using JSCH. I found the following:

Jcraft mentions:

  • Eclipse project
  • Ant use jsch