SSH fail2ban and port
SSH - fail2ban utility
Install the fail2ban utility:
yum -y install http://pbase-foundation.com/pbase-repo.rpmyum -y install pbase-preconfig-ssh-fail2banyum -y install pbase-firewall-enableyum -y install pbase-ssh-fail2ban
SSH - Alternate Port Number
Change your SSH access to a non-standard port number:
yum -y install pbase-preconfig-ssh-portyum -y install pbase-ssh-port
Configuration Options
The pbase-preconfig-ssh-port rpm creates a sample configuration file that can be customized:
{"pbase_ssh_port" : {"enableRootLogin": false,"port": "28800"}}