Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (527)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (594)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  SSH in Java  (Read 1891 times)
0 Members and 1 Guest are viewing this topic.
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Posted 2004-06-18 06:30:49 »

Has anyone built an SSH server in java before?

The crazy weirdos Wink who develop commercial products all appear to charge a starting price of around $1000 - $4000 for a single license to use their sshd, which is *ahem* beyond ridiculous for what is a fairly straightforward protocol (given that Sun gives away a completely free encryption layer!).

Although I (used to) know the algorithms and even the mathematical explanations of half a dozen core encryption algorithms, I've never implemented one before, and certainly never tried doing SSH.

But it looks as though that's our only option - use JSSE to make our own sshd implementation from scratch because no-one else on the planet has done this in java and is distributing it for less than $XXXX Sad.

Maybe it's easy (with JSSE), or maybe it's really really hard. Any advice? (or even...any alternatives? the openssh.org site is entirely useless, BTW)

malloc will be first against the wall when the revolution comes...
Offline Herkules

Senior Devvie




Friendly fire isn't friendly!


« Reply #1 - Posted 2004-06-18 07:16:11 »


Just found that:

http://sourceforge.net/projects/sshtools

No idea what it does...

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #2 - Posted 2004-06-18 07:46:38 »

Quote

Just found that:

http://sourceforge.net/projects/sshtools

No idea what it does...


It's a commercial project charging thousands of dollars.

malloc will be first against the wall when the revolution comes...
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online princec

« JGO Spiffy Duke »


Medals: 425
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #3 - Posted 2004-06-18 08:03:02 »

I don't get it - what exactly do you need? Isn't it built-in to the JRE now?

Cas Smiley

Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #4 - Posted 2004-06-18 08:05:26 »

uhm? sure? - SF projects are required to be OpenSource AND free...

Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #5 - Posted 2004-06-18 08:25:48 »

Quote
I don't get it - what exactly do you need? Isn't it built-in to the JRE now?


If there's an SSH daemon built-in to JRE, please tell me WHERE! Huh

Remember that: SSH != SSL

At the moment it appears we'll just have to:

1. tunnel over ssh + sshd (the linux applications) for now
2. when 1.5 goes gold, waste several weeks integrating a full ssh pipeline into the grexengine
3. ...re-use item 2 to do what I'm trying to do now

1 is a terrible option because it requires the customer to:
 a. remember to firewall correctly (!)
 b. remember to setup ssh tunnelling, different on each platform Sad

"waste" is not an entirely accurate description for 2, in that by doing 2 we are also adding a feature that some people might wish to use later on - but we've not met anyone who wanted an sshd inside their gameserver as a feature, so it may be that it only ever gets used for what we're doing now (but I can't bear the thought of yet-another-network-code-path to maintain...).

malloc will be first against the wall when the revolution comes...
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #6 - Posted 2004-06-18 08:28:22 »

Quote
uhm? sure? - SF projects are required to be OpenSource AND free...


Shrug. Whatever. The fact is that many SF projects are now only actively maintained as commercial and all that is left of the original appears to be the old downloads (since nearly every single SF developer feels they are above petty things such as using the SF documentation system, and so the only docs are on their website - which they then overwrite with a link to the commercial site - as is the case with sshtools)

malloc will be first against the wall when the revolution comes...
Offline Herkules

Senior Devvie




Friendly fire isn't friendly!


« Reply #7 - Posted 2004-06-18 08:34:01 »

J2SSH is LGPL, nothing prevented me from downloading it, nobody asked for thousands..... where's the problem here?


Ups, too late .... yes, the download is a 2003-version.

Doesn't mean it has to be bad or non-functional?

But I see what you mean.

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #8 - Posted 2004-06-18 09:17:51 »

Quote
J2SSH is LGPL, nothing prevented me from downloading it, nobody asked for thousands..... where's the problem here?


Ups, too late .... yes, the download is a 2003-version.

Doesn't mean it has to be bad or non-functional?

But I see what you mean.


...and I need the server version. From reading the webpage linked to from SF, it appears that J2SSH doesn't include the daemon (although perhaps I've misinterpreted that?) but instead is only the client.

malloc will be first against the wall when the revolution comes...
Offline Herkules

Senior Devvie




Friendly fire isn't friendly!


« Reply #9 - Posted 2004-06-18 09:25:17 »

1  
2  
3  
package com.sshtools.daemon;
public class SshDaemon {
}

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #10 - Posted 2004-06-18 09:31:30 »

LOL thanks, I guess I shouldn't have taken their commercial site at face value and should have dug deeper. Will look at that more closely later.

malloc will be first against the wall when the revolution comes...
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

PocketCrafter7 (12 views)
2014-11-28 16:25:35

PocketCrafter7 (8 views)
2014-11-28 16:25:09

PocketCrafter7 (9 views)
2014-11-28 16:24:29

toopeicgaming1999 (76 views)
2014-11-26 15:22:04

toopeicgaming1999 (66 views)
2014-11-26 15:20:36

toopeicgaming1999 (15 views)
2014-11-26 15:20:08

SHC (29 views)
2014-11-25 12:00:59

SHC (27 views)
2014-11-25 11:53:45

Norakomi (32 views)
2014-11-25 11:26:43

Gibbo3771 (28 views)
2014-11-24 19:59:16
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!