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: [EMAIL PROTECTED] / [EMAIL PROTECTED] / [EMAIL PROTECTED] / [EMAIL 
PROTECTED]
Email [EMAIL PROTECTED] / 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.

_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

Reply via email to