Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2003 18:37:08 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Jonathon McKitrick <jcm@FreeBSD-uk.eu.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How do I create an identity file for scp??
Message-ID:  <3F148214.2040704@mac.com>
In-Reply-To: <20030715213649.GA33467@dogma.freebsd-uk.eu.org>
References:  <20030715184920.GA32652@dogma.freebsd-uk.eu.org> <3F1455A8.8070802@mac.com> <20030715213649.GA33467@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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!

You're welcome.

> 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.

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F148214.2040704>