VPS & Dedicated Servers (Hosting Control Center) Help
Changing the SSH Port for Your Linux Server
You can change the default SSH port for your Linux server as an added security measure.
- To Change the SSH Port for Your Linux Server
- Connect to your server via SSH
- Switch to the root user
- Run the following command:
vi /etc/ssh/sshd_config
# Port 22
5. Remove # and change 22 to your desired port number.
6. Restart the sshd service by running the following command:
service sshd restart
-----------------------------------------------------------------------------
Managed Dedicated Server Low cost
www.goolhost.com
No comments