Hardening Server in less than 5 Minutes with Chef

Demonstrates the use of the hardening cookbooks via Chef to increase the security of your server.

— PREREQUISITES

a. Install berkshelf

b. Install knife-solo

— HARDENING

1. Download this kitchen

2. Download cookbooks

3. Update your ssh key in ‘data_bags/users/root.json’

4. Bootraps a fresh server with the cookbooks

Source : http://lollyrock.com/articles/how-to-harden-a-new-server/