[clug] sshd ListenOnly

paul at pabryan.mine.nu paul at pabryan.mine.nu
Mon Mar 28 10:35:21 GMT 2005

On Mon, Mar 28, 2005 at 07:56:18PM +1000, david wrote:
> Hi all
> I am wading thru sshd directives, can someone suggest a conf that will 
> make sshd respond only to a single ip or a subnet?

TCP wrappers should do the trick. Edit your /etc/hosts.allow and
/etc/hosts.deny files appropriately.

See hosts_access(5) for details.

I imagine most distros would compile OpenSSH with TCP wrappers support.


More information about the linux mailing list