Quote:
Originally Posted by jggimi
My opion, FWIW:
[*]You should be able to circumvent this by using EXCEPT in your hosts.deny file. See the EXAMPLES section of the man page.
|
Thanks for reply jggimi
I read that hosts.allow need to see a new line character. So I went in and modified the file. Still locked out. I could not SSH in from 192.168.1.2
I added the following to the hosts.deny file and worked:
Code:
ALL EXCEPT 192.168.1.2
However, now there is a new problem. I changed my IP address to 192.168.1.4 and I could SSH in.
I deleted the hosts.allow file and I can still SSH in from 192.168.1.4. This is not good.
I restarted the SSHD process just to be sure and I can still log in from 192.168.1.4.