Learn to allow or deny the computer with specific IP address to connect to the Linux machine through SSH in Linux CentOS 8. We can determine which ip address to allow and which ip address to deny the connection in our Linux machine. We can also specify through which user name, the remote host can login to our Linux machine.
We can add the rules on the main configuration file of SSH i.e. sshd_config which is insides /etc/ssh directory. We can use AllowUsers keyword to determine what ip address to allow for connection and what ip address to deny the connection. Moreover, We can also select which username they can use to login to our machine. We can add multiple ip addresses and select the username for each ip address that we want them to use to login.

#linux #centos

Networking - Allow and Deny Specific IP address to connect on Linux CentOS 8
9.60 GEEK