Socialbro's port of ec2-ssh with some improvements