Skip to content

Instantly share code, notes, and snippets.

Created February 5, 2019 08:49
What would you like to do?
Get SSH Random Art (visualization of key fingerprint) of a remote TLS server
echo \
| openssl s_client -connect $1:443 -servername $1 2>/dev/null \
| openssl x509 -noout -pubkey \
| ssh-keygen -vi -m PKCS8 -f /dev/stdin \
| ssh-keygen -vlf /dev/stdin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment