sshd config problem.
John Abreau
jabr at blu.org
Mon Sep 3 02:58:28 EDT 2007
On Mon, September 3, 2007 12:33 am, Steven W. Orr said:
> For reasons that are probably very boring, I want to make a change to my
> sshd config. I have two interfaces, eth0 and eth1. I had previously
> modified my listening port from 22 to something with a couple of extra
> digits for the kiddys. Now I have a situation where I want to maintain
> that setup only on eth0 (a.b.c.d) but I want to make it listen on port 22
> for eth1 (192.168.0.2).
>
> I tried
> ListenAddress 192.168.0.2:22
> ListenAddress 207.172.210.41:1234
> but I must be doing something wrong.
>
> Anyone?
My first guess would be that you'd need to run two separate instances of
sshd,
each with its own distinct config file.
--
John Abreau / Executive Director, Boston Linux & Unix
IM: jabr at jabber.blu.org / abreauj at AIM / abreauj at Yahoo / zusa_it_mgr at Skype
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the gnhlug-discuss
mailing list