Grep

How to Allow SSH/FTP Access Based on Country using GeoIP

How to Allow SSH/FTP Access Based on Country using GeoIP

Allow SSH access based on GeoIP country

  1. # apt-get install geoip-database geoip-bin. ...
  2. # chmod 755 /usr/local/bin/ipfilter.sh. ...
  3. # cat /etc/hosts.deny | grep sshd. ...
  4. # cat /etc/hosts.allow | grep sshd. ...
  5. $ ssh [email protected]. ...
  6. root@rhel # cat /etc/hosts.allow | grep sshd.

How To Install and Configure Monit on Linux
How To Install and Configure Monit on Linux Step 1 – Install Monit. Monit can be easily installed with package manager in most of Linux flavors. ... S...
Use CAT Command to Combine Text Files in Ubuntu 18.04
How do I merge text files together? How do I combine two text files in Linux? How do I combine text files in CMD? How do I concatenate in Ubuntu? Whic...
How To Create CentOS 8 KVM Image Template on OpenStack
Step 1 Download CentOS 8 ISO image. ... Step 2 Launch CentOS 8 Instance from ISO. ... Step 3 Create a Cinder Volume. ... Step 4 Begin CentOS 8 Instal...