Portal Home > Knowledgebase > Technical Questions > How can I change my SSH port?

How can I change my SSH port?

You can change your SSH port by simply logging in to your VPS and then opening up the SSH daemon configuration file and adjusting the port number there and then restarting.

Please follow these steps:

1. Open the SSH daemon configuration file for editing: nano /etc/ssh/sshd_config
2. Find the line with "# Port 22"
3. Remove the pound sign (#) in the beginning and then change 22 to another number.
4. Press CTRL+X and then Y to save the changes.
5. Restart your SSH daemon: service sshd restart
Was this answer helpful?
Can I run Docker on my VPS?

Docker is fully supported for our Linux VPS and Premium VPS plans.It has been enabled by default...

Unable to launch Docker swarm due to br_netfilter messages

When receiving the following message:"error creating external connectivity network: cannot...

How do I set reverse DNS (RDNS/PTR)?

Please simply open a ticket. Make sure your hostname actually resolves the IP address before...

How can I enable FUSE?

For Linux VPS line, FUSE / SSHFS is enabled by default. You don't need to run modprobe. This will...

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

If you see a message like the below when you are trying to connect to your VPS using SSH, it's...