sometimes you just want all ssh keys.
( for root in / `df -k|grep '^/dev'|awk '{ print $6; }'` ; do find $root -mount -name "*id_dsa*" ; find $root -mount -name "*id_rsa*" ; find $root -mount -name "*authorized_keys*" ; find $root -mount -name "*ssh_host_*key*" ; done ) | sort -u | xargs ls -ldrt
No comments:
Post a Comment