[KLUG Members] FW: sshd_config
Bruce Smith
bruce at armintl.com
Fri Dec 9 11:38:46 EST 2005
>
I've done it many times without a problem. Are you sure it restarted
correctly? Check 'ps' to make sure.
Also, (dumb question) you did uncomment the line when you change the
port? :-)
And run 'netstat -apen' to display the process that is listening on
port 22 to be sure.
- BS
> 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.
More information about the Members
mailing list