[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SSH



On Fri, 22 Oct 2004 18:02:21 +0530, Micheal Mukherji
<michy.mighty@gmail.com> wrote:
> > Use ssh-keygen to generate an RSA key pair. then copy the generated
> > public key to all of your workstations' ~/.ssh/authorized_keys.
> 
> Shud it be to authorized_keys?
> I think to avoid typing yes, he should make entries in ~/.ssh/known_hosts file.

~/.ssh/known_hosts contains a list of hosts together with their public
keys. This is used for verifying whether a remote host is authentic.
This file is automatically appended for each new host connected to,
and is subsequently checked everytime you try to connect to a remote
host.

Now, ~/.ssh/authorized_keys contains a list of hosts together with
their public keys. However, this is used for a remote host to be able
to connect to your machine non-interactively in a secure manner. This
file is NOT generated by default.

man ssh for more details

-- 
Paolo Alexis Falcone
pfalcone@gmail.com



Reply to: