LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-18-2008, 05:52 PM   #1
Mistoffeles
Member
 
Registered: Dec 2007
Location: TGWN
Distribution: Fedora, RHEL, CentOS, Evil Entity
Posts: 36

Rep: Reputation: 15
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
 
Old 12-18-2008, 05:59 PM   #2
Mistoffeles
Member
 
Registered: Dec 2007
Location: TGWN
Distribution: Fedora, RHEL, CentOS, Evil Entity
Posts: 36

Original Poster
Rep: Reputation: 15
Nevermind, I am a total blond today.

hosts.allow:

sshd:192.168.

hosts.deny:

ALL:ALL EXCEPT httpd



DOH!
 
  


Reply

Tags
connection, ssh, subnet


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ps -ef strange behaviour ?? lionking_x Linux - Newbie 1 11-28-2007 05:22 PM
strange ssh behaviour Mickey76 Linux - General 2 10-05-2006 09:34 PM
Strange Behaviour! joshuarowley LQ Suggestions & Feedback 1 12-08-2005 03:36 PM
Strange behaviour Anmol Suse/Novell 2 10-27-2005 11:05 PM
Strange Behaviour mikeyt_3333 Linux - General 4 08-06-2001 03:07 PM


All times are GMT -5. The time now is 05:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration