Securing SSH with tcp wrappers
From Sfvlug
(Difference between revisions)
Line 8: | Line 8: | ||
<pre> | <pre> | ||
- | ALL: localhost | + | ALL: localhost 127.0.0.1 ::1 |
- | ALL: 192.168.1.0/255.255.255.0 | + | ALL: 192.168.1.0/255.255.255.0 [fe80::]/4 |
sshd: /etc/hosts.deny.sshd : DENY | sshd: /etc/hosts.deny.sshd : DENY | ||
sshd: /etc/hosts.allow.sshd : spawn ( denyhosts ) | sshd: /etc/hosts.allow.sshd : spawn ( denyhosts ) | ||
</pre> | </pre> |
Revision as of 10:15, 30 August 2009
/etc/hosts.deny
ALL: ALL
/etc/hosts.allow
ALL: localhost 127.0.0.1 ::1 ALL: 192.168.1.0/255.255.255.0 [fe80::]/4 sshd: /etc/hosts.deny.sshd : DENY sshd: /etc/hosts.allow.sshd : spawn ( denyhosts )