[Linux-disciples] Sshd for a specific hostname

Ken Shan ken at digitas.harvard.edu
Wed Feb 18 03:52:06 EST 2004


On 2004-02-17T22:19:46-0500, Stephen R Laniel wrote:
> I'd like to be able to set up a hostname -- say, ssh.laniels.org
> -- on which ssh listens on port 80. Ssh.laniels.org and
> laniels.org would be the same machine, but sshd would be
> listening for any inbound connections to port 80 on
> ssh.laniels.org, whereas Apache would still be listening for port
> 80 on laniels.org. The point of all this is to get around
> firewalls and monitoring at work.

You need two different IP addresses for these two "different hosts".
(Sorry, ssh doesn't care about hostnames.)  Then, set ListenAddress in
/etc/ssh/sshd_config

-- 
Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig
Be it declared and enacted by this present Parliament ... That the
People of England ... are and shall be and are hereby constituted made
established and confirmed to be a Commonwealth and free State ...
without any King or House of Lords.  (1649-05-19)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20040218/8b265972/attachment-0001.pgp


More information about the Linux-disciples mailing list