From owner-freebsd-questions Fri Jun 21 13:43: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from stargate.clickcom.com (stargate.clickcom.com [209.198.22.4]) by hub.freebsd.org (Postfix) with ESMTP id BEB5E37B400 for ; Fri, 21 Jun 2002 13:42:58 -0700 (PDT) Received: from aesop (calefaction.clickcom.com [209.198.22.19]) by stargate.clickcom.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id NJ8XMFDW; Fri, 21 Jun 2002 16:22:53 -0400 From: "John Straiton" To: Cc: "'Daniel Barron'" Subject: RE: ssh keys and rsync Date: Fri, 21 Jun 2002 16:45:33 -0400 Message-ID: <005201c21964$998f8920$fe16c60a@win2k.clickcom.com> 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.2627 In-Reply-To: <05102b4a4b.nettle@jadeb.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I don't know if this will help too much, but it's my walkthrough for setting up automatic, password-required-less rsync'ing between two freebsd machines: http://my.lostinfo.com/files_other/rsync/ John Straiton jks@clickcom.com Clickcom, Inc 704-365-9970x101 > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of > Daniel Barron > Sent: Friday, June 21, 2002 1:21 PM > To: freebsd-questions@freebsd.org > Subject: Re: ssh keys and rsync > > > In message > Wayne Pascoe wrote: > > > Daniel Barron writes: > > > > > Then that was it I could just 'ssh someserver' and be logged in. > > > Someserver is a SunOS 4.8. > > > > > > I tried the same on the FreeBSD box and it always asked me for a > > > password. I also tried without the -t dsa. > > > > Is it asking you for a password or a passphrase? There are > > differences. > > Yes I know. Password. > > > Have you added the key that belongs to the user you wish to > ssh as to > > the authorized_keys (or for ssh V2 authorized_keys2) file > of the user > > that you wish to ssh to ? > > Yes, tried both. > > > > > EG. wayne on box a wants to ssh to web on box b. wayne on box a > > generates a ssh key. The sysadmin then adds the contents of wayne's > > public key to /export/home/web/.ssh/authorized_keys2 on box b. > > I'm just starting with ~/.ssh for now and will move on to > /path/to/web once I can simply ssh without password or passphrase. > > > > > > BTW, I know blank passphrases are bad, but how would I connect > > > without any user intervention? > > > > You can use ssh-agent where you enter the passphrase once > at startup, > > and then ssh uses the running agent to authenticate against > requests. > > I saw info on that but had no sucess. However it seems to be > for interactive use rather than crontab-ed. > > -- > Daniel Barron > (Visit http://dansguardian.org/ - True web content filtering for all) > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message