block root user

Q. How do I block access to root user over ssh session? A.. sshd (OpenSSH Daemon) is the daemon program for ssh. Server side ssh configuration is defined in /etc/ssh/sshd_config file. You need to use DenyUsers option to block access to root user. This option can be followed by a list of user name patterns, […]

{ 3 comments }