Question Problem changing ssh port

Dork

Regular Pleskian
Server operating system version
CentOS 7
Plesk version and microupdate number
Plesk Obsidian Version 18.0.48
I did all steps of the instructions and taht worked fine but this command
semanage port -a -t ssh_port_t -p tcp 2222
leads to:
libsemanage.semanage_read_policydb: Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading. (No such file or directory).
OSError: No such file or directory

Can someone help?
 
Less obvious than port 22 ;)
But you can pick any unused port you like. Let your imagination run wild.
 
Back
Top