Changing SSH Port For Best Security on CentOS 6 or 7

Changing SSH Port For Best Security on CentOS 6 or 7

First, we must edit the SSHD (SSH server daemon) configuration file. Use your favorite text editor. #vim /etc/ssh/sshd_config Add the following code to the bottom of the configuration file. To go to bottom of the file just press “shift+g”. # SSH Port Port 9752 # the...