Re: [users@httpd] Can apache and ssh share port 80?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



try  running ssh on port 443 and use putty to log in.
or
u could run apache+ssl+mod_proxy on port 443 and define an AllowCONNECT to port 22. u will need to patch mod_proxy for this to work (and some other stuff too!). ----- Original Message ----- From: <nolty@xxxxxxxxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Saturday, April 01, 2006 3:39 AM
Subject: [users@httpd] Can apache and ssh share port 80?


Hi all --

I have a linux box running several websites using apache.  Elsewhere,
I have a client on a military base.  When I am at the client's site
using their network, their paranoid firewall drops just about
everything in the world except port 80.  This means I can show them
their website when I am there, but I can't log on and make changes to
the website.  Obviously, this makes development very cumbersome,
especially since they are 60 miles from my office.

I would be interested in any ideas about how I could use port 80 to
log on to the machine.  Currently, I only allow logins via ssh on port
22.

Ideally, I wish there were some kind of apache directives I could use
so that httpd would continue to monitor port 80, and if it gets a
connection that does not look like http or https, it would forward the
bits to port 22.  But I doubt that is possible.

Alternatively, I wondered if I could write a simple Perl program that
would monitor port 80; if it got a connection that looked like http or
https it would forward it to apache (perhaps on port 81) and otherwise
it would forward it to ssh (perhaps on port 22).

Any ideas?

Thanks,
Bob

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux