• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.

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