From owner-freebsd-questions@FreeBSD.ORG Wed Mar 26 12:08:47 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 98AFE37B404 for ; Wed, 26 Mar 2003 12:08:47 -0800 (PST) Received: from chimera.noanet.net (chimera.noanet.net [66.119.192.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD73043F3F for ; Wed, 26 Mar 2003 12:08:46 -0800 (PST) (envelope-from mksmith@noanet.net) Received: from mkssony (dsl081-001-094.sea1.dsl.speakeasy.net [64.81.1.94]) by chimera.noanet.net (8.12.8/8.12.2) with SMTP id h2QK8k8t027253; Wed, 26 Mar 2003 12:08:46 -0800 (PST) From: "Michael K. Smith" To: "'Kung Foo Ham[p]?ster'" , "'adrian kok'" Date: Wed, 26 Mar 2003 12:08:44 -0800 Organization: NoaNet Message-ID: <004f01c2f3d3$8126d510$5e015140@mkssony> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-Reply-To: <1048709049.3e8207b9695ca@tools.kungfoohampster.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Status: No, hits=-5.5 required=5.0 tests=ASCII_FORM_ENTRY,IN_REP_TO,QUOTED_EMAIL_TEXT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-questions@freebsd.org Subject: RE: ssh and rsync without password X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mksmith@noanet.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 20:08:48 -0000 Hello: You should be appending your keys to ~/.ssh/authorized_keys. The steps in your previous message were correct. To reiterate. 1) Generate your keys on your local machine: - ssh-keygen -t rsa 2) When prompted for a password, do not enter one. This will generate a password-less key called id_rsa, and a public key id_rsa.pub 3) Copy the id_rsa.pub key over to the machine you want to ssh to. NOTE: change the filename first or you may overwrite your existing RSA key for your remote host. Like this: - local: cp id_rsa.pub local.key - scp local.key remote: - cat local.key >> .ssh/authorized_keys At this point, your remote machine should accept a passwordless login from that "local" machine. Mike Michael K. Smith NoaNet 206.219.7116 (work) 206.579.8360 (cell) mksmith@noanet.net http://www.noanet.net > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of > Kung Foo Ham[p]?ster > Sent: Wednesday, March 26, 2003 12:04 PM > To: adrian kok > Cc: freebsd-questions@freebsd.org > Subject: Re: ssh and rsync without password > > > authorized_keys [or authorized_keys2(depricated)] > > not authorized-keys _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/free> bsd-questions > > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >