This covers management of host keys on a secure shell server and the management of host public keys in the known_hosts file a user's .ssh directory.
get the fingerprint of the public key
ssh-keygen -lf ssh_host_ed25519_key.pub
generate new host keys
ssh-keygen -A
remove the public keys from known_hosts
ssh-keygen -R rocky-92
#ssh #known_hosts #ssh-keygen