In this tutorial, we will demonstrate how to change your SSH port using the Serial Console in our portal.
- Visit Services
- Click on your VPS from the list of Services
- Click on HTML 5 Serial Console
- Click on Create Session
- Type the following, and press ENTER:
sed -i 's/22/1234/' /etc/ssh/sshd_config
This will change your SSH port from 22 to 1234 - Type the following, and press ENTER:
service sshd restart
This will restart the OpenSSH service
You should now be able to access your server on port 1234