Add public key to known_hosts file
<p>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?</p>

<p>My public key is in the format <code>ssh-rsa AADGD...</code></p>

<p>Can someone help?</p>

<p>Thanks!</p>