Line 1: |
Line 1: |
| {{Languages|Denyhosts}} | | {{Languages|Denyhosts}} |
− | =Denyhosts SSH for SME7= | + | =Denyhosts SSH= |
| + | {{ #smeversion: smeserver-denyhosts }} |
| + | {{ #smeversion: denyhosts }} |
| + | |
| | | |
| === Maintainer === | | === Maintainer === |
Line 45: |
Line 48: |
| | | |
| ctrl + x | | ctrl + x |
| + | |
| + | /etc/init.d/denyhosts restart |
| + | |
| + | ==== precaution ==== |
| + | |
| + | when you edit the /etc/hosts.deny_ssh |
| + | |
| + | you should delete both the IP and comment line |
| + | otherwise it will not work |
| + | |
| + | for example you want to let '''192.168.3.3''' to have access and you find this |
| + | |
| + | # DenyHosts: Thu Feb 14 19:03:30 2013 | 192.168.1.1 |
| + | 192.168.1.1 |
| + | # DenyHosts: Thu Feb 14 22:36:00 2013 | 192.168.2.2 |
| + | 192.168.2.2 |
| + | '''# DenyHosts: Fri Feb 15 08:44:09 2013 | 192.168.3.3''' |
| + | '''192.168.3.3''' |
| + | # DenyHosts: Fri Feb 15 10:44:39 2013 | 192.168.n.n |
| + | 192.168.n.n |
| + | |
| + | if you delete only the IP (not the comment also) the block ban will not be raised for IP 192.168.3.3 after the restart of the service |
| + | |
| + | # DenyHosts: Thu Feb 14 19:03:30 2013 | 192.168.1.1 |
| + | 192.168.1.1 |
| + | # DenyHosts: Thu Feb 14 22:36:00 2013 | 192.168.2.2 |
| + | 192.168.2.2 |
| + | '''# DenyHosts: Fri Feb 15 08:44:09 2013 | 192.168.3.3''' |
| + | # DenyHosts: Fri Feb 15 10:44:39 2013 | 192.168.n.n |
| + | 192.168.n.n |
| + | |
| + | or if you change to another IP it seems to don't work |
| + | |
| + | # DenyHosts: Thu Feb 14 19:03:30 2013 | 192.168.1.1 |
| + | 192.168.1.1 |
| + | # DenyHosts: Thu Feb 14 22:36:00 2013 | 192.168.2.2 |
| + | 192.168.2.2 |
| + | # DenyHosts: Fri Feb 15 08:44:09 2013 | '''192.168.3.3''' |
| + | '''192.168.a.a''' |
| + | # DenyHosts: Fri Feb 15 10:44:39 2013 | 192.168.n.n |
| + | 192.168.n.n |
| + | |
| + | you should delete both lines (IP + comment) |
| + | |
| + | # DenyHosts: Thu Feb 14 19:03:30 2013 | 192.168.1.1 |
| + | 192.168.1.1 |
| + | # DenyHosts: Thu Feb 14 22:36:00 2013 | 192.168.2.2 |
| + | 192.168.2.2 |
| + | # DenyHosts: Fri Feb 15 10:44:39 2013 | 192.168.n.n |
| + | 192.168.n.n |
| + | |
| + | and then restart the service |
| | | |
| /etc/init.d/denyhosts restart | | /etc/init.d/denyhosts restart |
Line 63: |
Line 118: |
| === Check installed version === | | === Check installed version === |
| yum info installed smeserver-denyhosts | | yum info installed smeserver-denyhosts |
| + | |
| + | === Bugs=== |
| + | Please raise bugs under the SME Contribs section in {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-denyhosts|title=bugzilla}}. |
| + | |
| + | |
| + | {{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-denyhosts|noresultsmessage="No open bugs found."}} |
| + | |
| + | ===Changelog=== |
| + | Only released version in smecontrib are listed here. |
| + | |
| + | {{ #smechangelog: smeserver-denyhosts}} |
| ---- | | ---- |
| | | |
| [[Category: Contrib]] | | [[Category: Contrib]] |
| [[Category: Administration:Remote Access]] | | [[Category: Administration:Remote Access]] |
| + | [[Category: Security]] |