LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Strange SSH behaviour? (https://www.linuxquestions.org/questions/linux-server-73/strange-ssh-behaviour-691572/)

Mistoffeles 12-18-2008 05:52 PM

Strange SSH behaviour?
 
I have a new CentOS 5.2 server that I have configured as a web server with ftp access for uploading and ssh for login and configuration. For some odd reason, it is refusing ssh connections from all hosts not on its subnet. I am completely baffled by this. It is on a fairly high end Linksys router, but one-to-one NATted (and I have DMZed it, forwarded ports, etc. to no avail).

Any thoughts on how I can get it to allow ssh access from any IP address? Or how I could tell it what IP addresses or ranges to accept ssh connections from?

TIA,

-Misty

Mistoffeles 12-18-2008 05:59 PM

Nevermind, I am a total blond today.

hosts.allow:

sshd:192.168.

hosts.deny:

ALL:ALL EXCEPT httpd



DOH!


All times are GMT -5. The time now is 04:05 AM.