Change SSH Port
- #SSH
- #Linux
- #Security
Change SSH Port
Secure your server by changing your SSH port from the default Secure Shell Protocol port, 22.
Edit /etc/ssh/sshd_config
- find the line
#Port 22 - change it to
Port <NEW-PORT-NUMBER> - save the file
- Restart the ssh service by running
sudo systemctl restart sshd
Congrats your server is a little more secure.
0 Comments
Sign in to join the conversation.