Line 3: |
Line 3: |
| when you edit the /etc/hosts.deny_ssh | | when you edit the /etc/hosts.deny_ssh |
| | | |
− | you shoud delete both the IP and commend line | + | you should delete both the IP and commend line |
| otherwise it will not work | | otherwise it will not work |
| | | |
− | for example you find this | + | 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 | | # DenyHosts: Thu Feb 14 19:03:30 2013 | 192.168.1.1 |
Line 17: |
Line 17: |
| 192.168.n.n | | 192.168.n.n |
| | | |
− | and you want to let 192.168.3.3 to have acces
| + | 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 |
− | | |
− | if you delete only the IP (not the comment also) | |
| | | |
| like this | | like this |
Line 31: |
Line 29: |
| 192.168.n.n | | 192.168.n.n |
| | | |
− | the block ban will not be raised for IP 192.168.3.3
| + | or if you change to another IP it seems to don't work |
| | | |
− | also
| + | like this |
− | If you change to another IP
| |
| | | |
| # DenyHosts: Thu Feb 14 19:03:30 2013 | 192.168.1.1 | | # DenyHosts: Thu Feb 14 19:03:30 2013 | 192.168.1.1 |
Line 45: |
Line 42: |
| 192.168.n.n | | 192.168.n.n |
| | | |
− | it seems to don't work
| + | you should delete both lines (IP + comment) |
| | | |
− | But if you delete both lines (IP + comment)
| + | like this |
| | | |
| # DenyHosts: Thu Feb 14 19:03:30 2013 | 192.168.1.1 | | # DenyHosts: Thu Feb 14 19:03:30 2013 | 192.168.1.1 |
Line 57: |
Line 54: |
| | | |
| and restart the service | | and restart the service |
− | everything is ok
| + | |
| + | |
| | | |
| this should be in editing the /etc/hosts.deny_ssh section | | this should be in editing the /etc/hosts.deny_ssh section |