I can not change the SSH port on Cyberpanel 2.3
Operating System: CentOS Linux 7 (Core)
When saving system showing it is saved, but port is not changed and going to ither menu and back to Secure SSH port is again 22
Happy New Year @bladepif
This issue seems to be occuring on centos distros only since last year. @usmannasir kindly advice here
I found the solution by myself looking at the cybepanel github sourcode.
Cyberpanel look in the file: /etc/ssh/sshd_config for the line: Port xxxx
If the line is missing in this file, like it was in my case, the put in the line : Port 22 and save it
After that you can change it again in cyberpanel and it will be saved in file and also in firewall
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.