Add public key to known_hosts file
I am trying to copy a public key from Server A over to the known_hosts file in Server B. They are both linux servers. Initially I thought about opening the public key file and copying its contents over to the known_hosts file but I suspect that is not the correct method. Does anyone know what the right way to do so is?
My public key is in the format ssh-rsa AADGD...
Can someone help?
Thanks!