Manage Multiple AWS Accounts Using Direnv

I came across a simple yet elegant means of managing multiple Amazon Web Services credentials when using the AWS CLI. This way does not make you have to hack your .aws/config and is the simplest/cleanest way I have found. First install direnv and make sure it is in your PATH. Be sure to remember to […]

Tips: Managing Many Servers via SSH

I manage many servers in my line of work and have found a few things to make life a little easier when it comes to SSH’ing into them when I start my laptop up.The first of these is maintaining an up to date ssh config file which is kept in ~/.ssh that allows me to […]

Tips: Finding Huge Files on Linux

I tend to always need to find the huge log files that are filling up servers. One fast way is to use find and awk to list them in human readable form: find / -type f -size +20000k -exec ls -lh {} ; | awk ‘{ print $8 “: ” $5 }’ Int he above […]

Using Dropbox for SSH Key and Configuration Storage

I have been using the free 2GB Dropbox account to store my SSH keys for our servers. Along with my mutt and other configuration files. The best part of Dropbox on Linux is being able to symlink things into the Dropbox directory to allow me to have the same configurations on all the various computers […]