Korkman / shell-pack

A fish shell environment with many quality of life improvements for sysadmins and devops.
4 stars 0 forks source link

ffingerprints: a shortcut to display ssh fingerprints #45

Closed Korkman closed 2 years ago

Korkman commented 2 years ago
echo "$((ssh-keyscan -t ed25519,rsa,dsa,ecdsa localhost 2> /dev/null | ssh-keygen -E md5 -lf -; ssh-keyscan -t ed25519,rsa,dsa,ecdsa localhost 2> /dev/null | ssh-keygen -E sha256 -lf -) | sort | sed 's/^/    /')"
ip a | grep global # TODO: if linux