From owner-freebsd-questions Fri Jun 21 7:28:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from clientmail.ehsrealtime.com (eris.ehsrealtime.com [213.52.146.130]) by hub.freebsd.org (Postfix) with ESMTP id E72B437B407 for ; Fri, 21 Jun 2002 07:28:09 -0700 (PDT) Received: from set.ehsrealtime.com ([213.52.146.197]) by clientmail.ehsrealtime.com with esmtp (Exim 3.33 #2) id 17LPOL-0001UE-01; Fri, 21 Jun 2002 15:28:01 +0100 Received: from waynep by set.ehsrealtime.com with local (Exim 3.34 #1) id 17LQOK-0000mu-00; Fri, 21 Jun 2002 15:32:04 +0000 From: Wayne Pascoe To: Daniel Barron Cc: freebsd-questions@freebsd.org Subject: Re: ssh keys and rsync References: <45231c4a4b.nettle@jadeb.com> Date: 21 Jun 2002 15:32:04 +0000 In-Reply-To: <45231c4a4b.nettle@jadeb.com> Message-ID: Lines: 32 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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. 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 ? 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. > 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. HTH, -- - Wayne Pascoe - http://www.penguinpowered.org.uk/wayne/ The thing is, I was POSITIVE that I wasn't actually depressed, just that life had no meaning and I was tired of living. -- daystar on k5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message