Skip to content

Category Archives: AWS

.ssh/config settings for EC2 hosts

21-Feb-10

Seen multiple places around the web; I’m not sure where attribution should lie, but this is not original to me:

# ~/.ssh/config
#
Host *.amazonaws.com
CheckHostIP no
StrictHostKeyChecking no
UserKnownHostsFile /dev/null

EC2 EBS snapshot deletion one-liner

20-Nov-09

Adjust egrep as necessary:
ec2-describe-snapshots | egrep ‘2009-0[89]‘ | awk ‘{print $2}’ | xargs -L 1 ec2-delete-snapshot