From owner-freebsd-questions@FreeBSD.ORG Tue Jul 15 15:37:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97ADE37B401 for ; Tue, 15 Jul 2003 15:37:22 -0700 (PDT) Received: from pop017.verizon.net (pop017pub.verizon.net [206.46.170.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id A73B543F93 for ; Tue, 15 Jul 2003 15:37:21 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([141.149.47.46]) by pop017.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030715223721.IVMJ27254.pop017.verizon.net@mac.com>; Tue, 15 Jul 2003 17:37:21 -0500 Message-ID: <3F148214.2040704@mac.com> Date: Tue, 15 Jul 2003 18:37:08 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jonathon McKitrick References: <20030715184920.GA32652@dogma.freebsd-uk.eu.org> <3F1455A8.8070802@mac.com> <20030715213649.GA33467@dogma.freebsd-uk.eu.org> In-Reply-To: <20030715213649.GA33467@dogma.freebsd-uk.eu.org> X-Enigmail-Version: 0.76.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [141.149.47.46] at Tue, 15 Jul 2003 17:37:20 -0500 cc: freebsd-questions@freebsd.org Subject: Re: How do I create an identity file for scp?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 22:37:22 -0000 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