Re: How can I block IP address range with sshd_config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2004-07-27 at 12:12, Michael Sullivan wrote:
> I looked through the man page for sshd_config for
> a way to block their IP, but I couldn't find it.  Does anyone here know
> how to do this?
> 
One alternate way would be to use tcp_wrappers (aka libwrap).

You could add a line to /etc/hosts.deny
sshd : 192.168.0.0/255.255.255.0

And that would block anyone trying to get in from the "network"
192.168.0.*

HTH,

--Rob




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux