On Tue, 2005-05-31 at 14:17 -0300, Rodrigo Barbosa wrote:
I don't think you can do all of that with just 1 instance of sshd. You can, however, have more than one instance running, and use iptables to redirect the connections based on the source IP address to the correct instance (each one with a different port and config file). Since sshd's footprint is very small, that should have no nasty side effects.
For any SSH that allows root access, I'd run it on a non-standard port anyway. Although it's probably ideal to keep that port under 1024 so no arbitrary user can present a login service for root.