ADD SSH SHA-256 SHOW

This commit is contained in:
IntenseWebs committed 2024-05-31 05:19:58 -05:00
1 parent c94464ce77
commit 3fd05f41aa
2 files changed
+5

No files matched your search

+5
View File
@@ -49,6 +49,11 @@ systemctl restart sshd
# TO REMOVE OLD KEYS FROM known_hosts file
ssh-keygen -f "/home/privacy/.ssh/known_hosts" -R "192.168.1.124"
----------------------------------------------------------
# SHOW SHA-256 FINGERPRINT
# You can use ssh-keygen. Convert file format first # ssh-keygen -i -m PKCS8 -f pubkey.pem > NEWpubkey.pem
# Next get the fingerprint:ssh-keygen -lf NEWpubkey.pem
# openssl rsa -in pubkey.pem -pubin -outform der | openssl dgst -sha256
----------------------------------------------------------
#AGENT for Private Keys on Linux - MANUAL run ssh-agent and add ssh private key.
eval "$(ssh-agent -s)"
chmod 600 /c/Users/username/Documents/SETTINGS/id_rsa
Binary file not shown.