• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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