From owner-freebsd-questions@FreeBSD.ORG Wed Oct 6 10:02:05 2004 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 9EBAC16A4CE for ; Wed, 6 Oct 2004 10:02:05 +0000 (GMT) Received: from web53305.mail.yahoo.com (web53305.mail.yahoo.com [206.190.39.234]) by mx1.FreeBSD.org (Postfix) with SMTP id 29AC043D45 for ; Wed, 6 Oct 2004 10:02:05 +0000 (GMT) (envelope-from non_secure@yahoo.com) Message-ID: <20041006100204.95468.qmail@web53305.mail.yahoo.com> Received: from [80.198.126.97] by web53305.mail.yahoo.com via HTTP; Wed, 06 Oct 2004 03:02:04 PDT Date: Wed, 6 Oct 2004 03:02:04 -0700 (PDT) From: Joe Schmoe To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Having trouble sharing public/private keys for ssh ... keeps asking for password 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: Wed, 06 Oct 2004 10:02:05 -0000 Ok, this should be easy: I want to log in from CLIENT to SERVER without being asked for a password. On CLIENT, I run: ssh-keygen -t dsa -b 2048 as user "test" and I do not enter a password. Then I copy the .pub portion of that key over to SERVER and save it as /usr/home/jerkoff/.ssh/authorized_keys2 ... note that I save it as authorized_keys2, because it is a dsa key ... then I chmod 0600 authorized_keys2 ... So now I should be able to go to CLIENT and: ssh jerkoff@SERVER and log in with no password, right ? Wrong. I get: % ssh jerkoff@server Password: Response: (I hit enter) jerkoff@server's password: (I hit enter) Permission denied, please try again. So ... what am I doing wrong ? thanks. _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com