• 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

Can't change ssh port

E

emagen

Guest
Hi

I am trying to change ssh port from 22 to 2205. I've modified /etc/ssh_congif to reflect the new port and restarted ssh service afterwards.

When trying to ssh to the server using the new port I get the response 'Connection Refussed' from my server.

What am I missing?

Thanks

(I have Plesk 8 on Linux Fedora 4)
 
I actually had to modify /etc/ssh/sshd_config and uncomment the port number line while changing it to my new port number.

All worked fine with Plesk 8 and FC4
 
Back
Top