Linux serverNETWORK ADMINISTRATIONS

#27 – Networking – Allow and Deny Specific IP address to connect on Linux CentOS 8

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 8 tutorials: https://www.youtube.com/watch?v=59u_GBLJ1WI&list=PLTGb7Fhy-jx_z9CMD8Vb0uVXYjlWXJirn

SSH Connection: https://www.youtube.com/watch?v=kH4A43AYOQg

Changing SSH Port: https://www.youtube.com/watch?v=BbpnioNSAZ0

SSH Key Authentication: https://www.youtube.com/watch?v=i6o57zaphB4

Facebook: https://www.facebook.com/techvitals/

source

centos 8

4 thoughts on “#27 – Networking – Allow and Deny Specific IP address to connect on Linux CentOS 8

Comments are closed.