View Single Post
  #5   (View Single Post)  
Old 9th November 2011
amrogers3 amrogers3 is offline
Port Guard
 
Join Date: Oct 2011
Posts: 20
Default

Quote:
Originally Posted by jggimi View Post
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.


Last edited by amrogers3; 9th November 2011 at 11:32 PM. Reason: correction
Reply With Quote