From owner-freebsd-questions@FreeBSD.ORG Sat Jul 14 23:18:47 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 076E016A402 for ; Sat, 14 Jul 2007 23:18:47 +0000 (UTC) (envelope-from gustavodn@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by mx1.freebsd.org (Postfix) with ESMTP id D632F13C46B for ; Sat, 14 Jul 2007 23:18:46 +0000 (UTC) (envelope-from gustavodn@gmail.com) Received: by wa-out-1112.google.com with SMTP id j37so1160280waf for ; Sat, 14 Jul 2007 16:18:46 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WCkhEqAUiA/QRv9hRM2bX23PvwtRx3ust69XWBVAYvxPlMSQXywlzbwn577Wi9a2VVFd+PpAdBuxRw4BUkaBBY0QyH2ZgVEtGQASG2sygw5K+LdZXzb1vP3x9FCer2p7b/fU/OqLODDSQCoQ96A25ye0dthadtjoFFAW18h++z0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pAbS+t+aMT+Det2jSzI/8o0YI/xHRXo85e63LZlc06V7bmvo7swgW6nXCRRe3MbowkR9oA4ZQQu7emVAdNdKuJw37jJRH2sWPGNepB9NP1eI09r80ps6Qo52x0g6OQVZ1GDwsBZ4uTgrAoRJ+7tzAx3xLor5/9XxR+5S8NKRZ5A= Received: by 10.114.168.1 with SMTP id q1mr2861569wae.1184453659163; Sat, 14 Jul 2007 15:54:19 -0700 (PDT) Received: by 10.114.191.18 with HTTP; Sat, 14 Jul 2007 15:54:19 -0700 (PDT) Message-ID: <50af0a260707141554y45f4e98cpdaf84d03e58136f@mail.gmail.com> Date: Sat, 14 Jul 2007 19:54:19 -0300 From: "Gustavo De Nardin" To: freebsd-questions@freebsd.org In-Reply-To: <200707131651.12198.lists-fbsd@shadypond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200707131651.12198.lists-fbsd@shadypond.com> Subject: Re: ssh-copy-id X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2007 23:18:47 -0000 On 13/07/07, Pollywog wrote: > Since FreeBSD does not have ssh-copy-id as part of the OpenSSH package, what > is the best way to copy a public key to an account on another host? Some > Linuxes (Debian and Ubuntu) have a ssh-copy-id script for this in their > OpenSSH packages. Well dunno about "best way", but I used to do something like this..: ssh $remote 'mkdir -m 600 .ssh && cat - >>.ssh/authorized_keys' <~/.ssh/id_rsa.pub But of course ssh-copy-id is much smarter. -- (nil)