To configure your SSH Server you will need to edit /etc/ssh/sshd_config using the following command:
# vi /etc/ssh/sshd_config
- To disable root logins, edit or add the following line:
- To allow only specific users over SSH edit or add the following line:
AllowUsers ryan chris
- Change the listening port of SSH service edit or add the following line:
Save and quit the SSH configuration file and restart the SSH service to reflect the changes by using the following command:
# service sshd restart
Congratulations, you have configured the SSH Server on CentOS VPS.
Fantastic...Thank you for your feedback =)
Sorry... Please submit a support ticket or try another search.