2 services on the same port? (ssh + http)

Paul Sladen ubuntu at paul.sladen.org
Thu Jul 28 17:55:19 UTC 2005


On Thu, 28 Jul 2005, Thomas Kaiser wrote:

Hello Thomas

> Is it possible to have a kind of proxy or super sever to listen to port 
> 80 and forward the stream to ssh or apache depending on the protocol? Is 
> xinetd used for this?

There's some small script that does this (I forget the name).  It relies on
HTTP clients sending the request immediately, whereas SSH clients wait for
the server string first.

IIRC, the script waits a short amount of time and if there's data from the
client, sends it to apache, or if there isn't, to sshd.

	-Paul
-- 
The summer is normal here.  London, GB





More information about the ubuntu-users mailing list