• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Changed SSH Port --> No Shell login at active firewall !

MartinB

Basic Pleskian
Hello !

I have changed the SSH Port directly at :

/etc/ssh/sshd_config

From 22 to 35896

And now I can not log in via SSH , if the Plesk Firewall is active !
So, how (where) can I change the port at the fireall, too ?

Thanks for any help !

Bye, Martin
 
@MartinB,

you have to add a custom rule in Plesk Firewall interface in order to open your port, you can do that at "Tools & Settings > Firewall > Modify Plesk Firewall Rules > Add Custom Rule".

Make sure you apply changes afterwards.
 
@MartinB,

No, the port is still open until you deny access to it. To do that, you can disable the premade SSH rule by clicking on it (while in 'modify mode'), and then select 'Deny'.
 
Back
Top