What Linux Beginners Must Know (Part 15 - known_hosts and host keys)

Опубликовано: 25 Март 2026
на канале: uadmin
478
10

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