Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Implement SSH?

by mdillon (Priest)
on Mar 07, 2002 at 21:14 UTC ( [id://150131]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Implement SSH?
in thread Implement SSH?

If you're going to base an "application-level communication system" on it, why not just use SSL instead of SSH? If you don't need the "actual sshd features" (assuming you mean user authentication and command execution), I would guess that SSL is a better fit. To have an SSHD under Win32, you have to hack a unix-y authentication somehow, which seems like it could be a frustrating can of worms to open, especially if all you need is an encrypted channel for communication.

Replies are listed 'Best First'.
Re: Re: Re: Re: Implement SSH?
by John M. Dlugosz (Monsignor) on Mar 08, 2002 at 21:32 UTC
    SSH is a much cleaner spec, separating the main building blocks architecturally better than SSL/TLS does. It is also designed for multi-channel multiplexing of communications over one established connection. It supplies compression (TLS has a placeholder for the concept but never did it) and encrypts the meta-data too, not just the payload.

    SSH spec includes OpenPGP authentication. That's easier to work with than X.509 stuff! In the stuff I'm doing at work, authentication is a main issue. The built-in stuff between IE and IIS is not right for us. Using the cryptoAPI primitives or even the schannel stuff in Windows with callbacks to do the authentication and other details might be easy enough, but the application would then have to add another layer to that, to multiplex several channels. That's already part of the basic SSH protocol.

    As for grafting unix-y authentication onto SSHD, the way Mark Bradshaw's port works requires a UNIX password file to be built, but it actually accesses the NT account data to log on when spawning the remote shell.

    What I'm designing is basically a secure tunnel. One socket is used, but SSH-like port forwarding is being done on each end so the apps think they are using various sockets. The main tool will establish the tunnel, and auxilary tools will piggyback on the connection.

    Basically, the client side and the actual transport part of the server side is exactly what I need. I just don't need the rshell as a built-in application service. I'll customize the authentication rules, but SSH protocol is very extensible in this area.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://150131]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-25 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found