Overview Changing your SSH keys is as important as changing your underpants daily, running this script on a frequent basis will ensure access to the servers are changed on a regular basis. Use Ansible to do ssh key rotation in your sleep!
Generating RSA Keys 1. Create a folder called “.ssh” under the root folder (change ~ for the full path of the user if you are using a user account) mkdir ~/.ssh 2. Change permissions on the “.ssh” folder to 700 chmod 700 ~/.ssh 3. Generate keys ssh-keygen -t rsa You will be prompted for a… Read more »
This guide describes how to generate a private and public key pair to log into a Linux server over SSH using Putty. Using key based exchange allows you to disable the normal username and password authentication procedure which increases security and removes the ability to brute force logins to the server. Putty & Utilities First… Read more »