Knowledgebase: Dedicated Servers
Restrict SSH Access
Posted by Phillip Nguyen on 29 January 2014 02:39 PM

For added security on your server, you can restrict SSH access to IP addresses you trust.  You can also change the default port number for additional safety.  You will need to modify the ssh configuration file with:

$sudo nano /etc/ssh/sshd_config

From there, remove the comment tag (hash symbol #) from the ListenAddress line, and add the IP you want to have access to the server.  You can also change the port number in the same file.

 

 


Comments (0)