@blitter@catgirl.cloud Ugh, sorry for the multiple posts - I need to do a better proofreading job.
ssh reads the public key stored for a particular server from known_hosts and compares it with the public key the server sends when initiating the ssh connection.