Re: Linux: ssh keys



Okay, I think I get it. One more question:

Could I just ssh@otherserv from each server which automatically adds it
to known hosts?

Also one of the servers doesn't have direct root access. I have to log
in through a username first. How would I do this?


Rene Pijlman wrote:
Tom:
Does anyone know how to setup two servers to be able to have ssh keys
from each other setup as trusted between the two?

OpenSSH: create a key pair with ssh-keygen. Store the public key on the
remote server, in ~/.ssh/authorized_keys of the user account. Load the
private key into ssh-agent. And vice versa.
http://www.suso.org/docs/shell/ssh.sdf

--
René Pijlman

.