• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Change SSH Port in Plesk 10

M

Matthew-Webmaster

Guest
For security reasons, I want to change the ssh service from port 22 to say 3333. I've changed ssh_config, sshd_config, proftpd.conf, & CSF (our firewall protection), & then restarted CSF, ssh server, plesk, and proftp server. This did not seem to change anything. You can still log-in to ssh on port 22, and it denies log-in on 3333. Everyone is telling me that it has to be something in Plesk. What am I missing?
 
What about /etc/services ?

# cat /etc/services | grep ssh
ssh 22/tcp # SSH Remote Login Protocol
ssh 22/udp # SSH Remote Login Protocol
 
ok, so I edited /etc/services (changed ssh servers to port 3333). Restarted server. Login on port 22 still works. Logging in on port 3333 doesn't deny access as it did before, but it doesn't show any login prompts either. By the way, we are using Plesk 10.3.1 on a Redhat 5 server.
 
Generally it is common unix task and it is not related to Plesk. Read carefully any linux related "howto change ssh port" in internet. I hope it will help.
 
You should only need to modify /etc/ssh/sshd_config so it reads 'Port 3333' and then restart the sshd service. Plesk doesn't really come into play here AFAIK.
 
Back
Top