Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39274
| From | Martin Gregorie <martin@mydomain.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: How to create a ssh/tls connection for a tcp connection in java |
| Date | 2020-01-04 18:56 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <quqn49$njv$1@dont-email.me> (permalink) |
| References | <7e6fef16-b107-424a-89c2-f717f9a6d595@googlegroups.com> <quoclb$dl$1@gioia.aioe.org> <dedbd9df-64a7-476e-acba-68f55ac70470@googlegroups.com> |
On Sat, 04 Jan 2020 09:53:34 -0800, mike wrote: > Hi, > Thanks for reply Arne. Is there something similar for ssh? ( need to > support that too). > Is your Java program expecting to connect to an sshd server, i.e. to make connections as though it is ssh? If so, you might want to look at JavaTelnet, an applet that claims to act as both a telnet and an ssh client program. http://javatelnet.org/ You may also find the SourceForge OpenSSH-Java Library useful: http://quietcoffee.sourceforge.net/ From the wabsite: Description =========== This is an attempt at a comprehensive, open source implementation of OpenSSH for the Java platform. It includes both the SSH1 and SSH2 protocols, and supports a number of different cryptographic algorithms, based on the Sun JCE Java extensions. Justification ============= Few free Java SSH implementations. Those that do exist are under GPL, and often slow. Want a OpenBSD-license implementation to be compatible with the Apache project. In particular would like to implement a fast SSH and SCP task for Jakarta Ant. Implementation ============== The implementation at this point is simply being built from OpenSSH-3.1p1 sources from the Cygwin distribution. The goal here is to keep as close as possible to the original implementation so that changes and bugfixes in that codebase can easily be ported to the Java implementation. At the same time, small amounts of refactoring is done to give it a cleaner OO structure and to avoid reimplementing classes already available for Java (ie by using java.math.BigInteger, java.security.* and the javax.crypto.* packages to eliminate the OpenSSL dependencies). Its quite old, Java 1.4, but should still be useful as a basis for your code. -- Martin | martin at Gregorie | gregorie dot org
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
How to create a ssh/tls connection for a tcp connection in java mike <mikaelpetterson@hotmail.com> - 2020-01-03 05:34 -0800
Re: How to create a ssh/tls connection for a tcp connection in java Arne Vajhøj <arne@vajhoej.dk> - 2020-01-03 16:45 -0500
Re: How to create a ssh/tls connection for a tcp connection in java mike <mikaelpetterson@hotmail.com> - 2020-01-04 09:53 -0800
Re: How to create a ssh/tls connection for a tcp connection in java Arne Vajhøj <arne@vajhoej.dk> - 2020-01-04 13:09 -0500
Re: How to create a ssh/tls connection for a tcp connection in java Martin Gregorie <martin@mydomain.invalid> - 2020-01-04 18:56 +0000
csiph-web