Where have I ssh(1)ed recently?

Not sure if this is useful or abuse-ful, but here’s some quick command line foo to see where all I’ve SSHed recently

$ history | egrep "ssh " | cut -b 8- | egrep '^ssh ' | sort | uniq -c | sort -rn | awk '{print $NF}' | sort | uniq -c | sort -rn

Advertisements