Skip to Content
CentOS 6 Linux Server Cookbook
book

CentOS 6 Linux Server Cookbook

by Jonathan Hobson
April 2013
Beginner
374 pages
8h 14m
English
Packt Publishing
Content preview from CentOS 6 Linux Server Cookbook

Protecting SSH with fail2ban

In this recipe we will learn how to implement additional security measures by protecting SSH server with a package called fail2ban.

Fail2ban is a tool that serves to protect a variety of services against unwanted visitors. It works by reading logfiles for patterns based on failed login attempts and deals with the offending IP addresses accordingly. Of course, you may have already hardened your SSH server and employed the necessary firewall rules, but it is the purpose of this recipe to show that when faced with the possibility of Brute Force Attacks, an added layer of protection is always useful.

Getting ready

To complete this recipe you will require a working installation of the CentOS 6 operating system with root privileges, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

CentOS 7 Linux Server Cookbook - Second Edition

CentOS 7 Linux Server Cookbook - Second Edition

Jonathan Hobson
Mastering CentOS 7 Linux Server

Mastering CentOS 7 Linux Server

Mohamed Alibi, BHASKARJYOTI ROY

Publisher Resources

ISBN: 9781849519021Other