Page 1 of 1

ssh port changed but server check still says its 22

Posted: 19 Feb 2014, 00:47
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

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

Posted: 19 Feb 2014, 00:50
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?