How do I create an identity file for scp??
cswiger at mac.com
Tue Jul 15 15:37:22 PDT 2003
Jonathon McKitrick wrote:
> On Tue, Jul 15, 2003 at 03:27:36PM -0400, Chuck Swiger wrote:
[ ... ]
> : Use ssh-keygen to generate an RSA or DSA keypair without using a password,
> : and copy identity.pub, id_dsa.pub, or whatever to .ssh/authorized_keys on
> : the remote host (the system being logged into).
> That worked perfectly. Thanks!
> Am I correct that for each box I want to log in from, I do the same thing,
> and just append each key to authorized_keys?
Sure, you can generate as many keys as you need, but it's only useful to
generate keys for distinct user identities or roles. You can copy the private
key (the file without the ".pub") to each machine that you want to be able to
login unattended from.
More information about the freebsd-questions