October 2016
Beginner
406 pages
7h 50m
English
Depending on the role of your system and which user accounts are configured on it, you may not want all of its registered users to have access through SSH. This recipe shows you how to configure the SSH server to restrict remote user access by explicitly granting or denying the users access.
This recipe requires a CentOS system running the OpenSSH server. Administrative privileges are also required, either by logging in with the root account or through the use of sudo.
Follow these steps to restrict users' SSH access:
vi /etc/ssh/sshd_config
PermitEmptyPasswords option. Uncomment it and set its value to noRead now
Unlock full access