[KLUG Members] FW: sshd_config

Mark Kowitz mkowitz at hudsonville.org
Fri Dec 9 11:29:49 EST 2005


Hi All,

Maybe this is simple enough to go into Novice, but I don't know the criteria
to decide . . .

I'm trying to stop Brute Force attacks via ssh, so I changed the sshd_config
file to move the port to 2230, restarted sshd, but it's still listening on,
and allowing connections to port 22.

[]# netstat -an |grep 22
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        1     52 10.10.10.12:25          69.87.22.111:52975      CLOSING
unix  2      [ ]         DGRAM                    10642275
unix  2      [ ]         DGRAM                    822

What am I missing?  The system is RedHat 7.2.

Mark Kowitz
Information Services Manager
City of Hudsonville
http://www.hudsonville.org
---------------------------------------------
He is no fool . . .
    who gives what he cannot keep
             to gain what he cannot lose.
--jim elliot



More information about the Members mailing list