ssh port changed but server check still says its 22

Post Reply
opt2bout
Junior Member
Posts: 5
Joined: 14 Jan 2009, 19:19

ssh port changed but server check still says its 22

Post by opt2bout »

I've changed the ssh port as a default practice. On two new servers, both running cPanel & cPanel DNSONLY, CSF reports "Check SSH on non-standard port"

22 is no longer the sshd_config Port setting and is working correctly, what am I missing?

I have another older cPanel server and two non-cpanel hosts that report correctly, all are similarly configured. I do use a port < 1024, is this an issue?

Thanks
opt2bout
Junior Member
Posts: 5
Joined: 14 Jan 2009, 19:19

Re: ssh port changed but server check still says its 22

Post by opt2bout »

Sorry, I've got it and will probably need to report a bug?

Our sshd_config files on the servers that are still complaining have the following entries:

port XXXX

When I edited the file and replaced it with a proper case entry:

Port XXXX

It is no longer reported.

This check should probably be case-insensitive (?) and/or also check the running process listening port?
Post Reply