Last active
August 29, 2015 14:12
-
-
Save kiasaki/ac5a95301d3f478e09eb to your computer and use it in GitHub Desktop.
Useful one liners
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generate public key file from secret key file | |
ssh-keygen -y -f ~/.ssh/key > ~/.ssh/key.pub | |
# Fetch the fingerprint for a host | |
# (Useful with salt ssh_kwown_host state) | |
ssh-keygen -l -f ~/.ssh/known_hosts -F github.com | |
# Show SSL Cert details | |
openssl x509 -in certificate.crt -text -noout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment