Protect SSH by fail2ban on centos 7

yum install -y fail2ban
cat >> /etc/fail2ban/jail.d/customisation.local <<EOF
[sshd]
enabled = true
EOF
systemctl enable fail2ban
systemctl start fail2ban
fail2ban-client status sshd

User tags

graylog2 sysresccd squeeze boot iostat leap second su dovecot bash xargs Adaptec X forwarding cluster chromium jackd sysrq replication perl qemu raid5 iowait git dhclient zRam debian munin shorewall xfs virt-install security erase virsh pulseaudio pacemaker slab SuperMicro elliptics ulimit parallel CPAN OpenSSL KVM bridge vlan chroot kernel centos 7 alien tun bonding tftp iptables deb LVM pvmove 3Ware NFS nvidia tin arp Areca glxinfo cache .htaccess sysfs alsa mdadm PXE cpu usage core dump profiling top opreport in-addr.arpa cgroups apache fio backtrace ip dpkg gpg limit_conn backup fail2ban SSD SYN /etc/network/interfaces StorMan Salt lxc netfilter rpm ps regex perlbrew nginx PTR opcontrol LSI source sysctl tool tzdata quagga newgrp usb conntrack xhost gdb SpamAssassin oprofile rsync radeon lubuntu MegaRAID mysql ansible RT CentOS asoundrc etch corosync arping openvpn cfq ardour HDFS find proxy sublime gtk video fido7 glusterfs php raid encrypt htop docker-compose dstat performance equalizer routing swap firefox puppet rtl8723be dhcp iSCSI hotplug initrd APU wordpress docker soa apt ipmitool cpu rkhunter bacula vim mariadb vrrp rtsp shellshock flash search java tiger arch scsi bind cpanm ipmi debootstrap grub qcow2 sg pam HTTPS vtysh route sftp ha keyboard mkfs exim4 tar drupal sysctl.conf taskset MODx Swift build vrrpd ubuntu lts noop ssh youtube bug DRBD dns hdparm gre wget exim virtualbox storage freedos lenny numa iops OpenStack idmapd ddos groups language nfs4 AMD xen mount lstat bscan