View Single Post
  #1   (View Single Post)  
Old 9th November 2011
amrogers3 amrogers3 is offline
Port Guard
 
Join Date: Oct 2011
Posts: 20
Default hosts.allow and hosts.deny

I just got SSH up and running on openBSD 4.9. My problem is that I am able to connect to SSH when I have my IP of 192.168.1.2/255.255.255.0 listed in the hosts.allow file.

When I add "ALL: ALL" to hosts.deny, I can not longer SSH into my box.

I delete the hosts.deny file I can connect again with no problems.

The error I get is as follows:
"ssh_exchange_identification: Connection closed by remote host"

Any ideas what is going on?

Last edited by amrogers3; 9th November 2011 at 04:31 AM.
Reply With Quote