I need to make a small test program in java which has to communicate with remote Windows server using telnet, or openSSH. Which library would you suggest to use? I'd like to use a well documented and stable library.
+3
A:
I would use JSch (and do).
It's not too large to learn quickly. It's used in:
- Ant(1.6 or later).
- JSch has been used for Ant's sshexec and scp tasks.
- Eclipse(3.0).
- Our Eclipse-CVSSSH2 plug-in has been included in Eclipse SDK 3.0. This plug-in will allow you to get ssh2 accesses to remote CVS repository by JSch.
- NetBeans 5.0(and later)
- Jakarta Commons VFS
- Maven Wagon
- Rational Application Devloper for WebSphere Software
- HP Storage Essentials
- JIRA
and, it has X-forwarding and such to work with Linux.
jtzero
2010-04-26 17:23:59
according to alfredozn 's link I'm not the only one who thinks so
jtzero
2010-04-26 17:25:41
+1
A:
Since you also asked about Telnet Commons Net provides an implementation.
Mark
2010-04-26 20:39:13
A:
I can also recommend JTA, the Java Terminal Adapter. Very nice plugin architecture if you have to add value to it.
EJP
2010-04-27 10:48:53