libgy8zli.github.io

Repo for personal notes

View on GitHub

Generate SSH key pair

ssh-keygen -t rsa -b 2048 -f rsa_key_name

Remove host from known_hosts

ssh-keygen -R host

Get SSH server key fingerprint

ssh-keyscan host -> temp_public_key_file
ssh-keygen -l -f temp_public_key_file

Detail Documentation:

ssh-keygen

ssh-keyscan