From owner-freebsd-questions@FreeBSD.ORG Sun Oct 10 19:20:45 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 9AC1B16A4CE for ; Sun, 10 Oct 2004 19:20:45 +0000 (GMT) Received: from web53301.mail.yahoo.com (web53301.mail.yahoo.com [206.190.39.230]) by mx1.FreeBSD.org (Postfix) with SMTP id 1AE1943D2D for ; Sun, 10 Oct 2004 19:20:45 +0000 (GMT) (envelope-from non_secure@yahoo.com) Message-ID: <20041010192044.11548.qmail@web53301.mail.yahoo.com> Received: from [24.94.23.114] by web53301.mail.yahoo.com via HTTP; Sun, 10 Oct 2004 12:20:44 PDT Date: Sun, 10 Oct 2004 12:20:44 -0700 (PDT) From: Joe Schmoe To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: host-based ssh authentication (no password) not working ... help needed 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: Sun, 10 Oct 2004 19:20:45 -0000 I have machines CLIENT and SERVER. On SERVER, I set the following options in /etc/ssh/sshd_config : RhostsAuthentication no RhostsRSAAuthentication yes Then I copied the host public key from /etc/ssh on CLIENT to /etc/ssh/ssh_known_hosts on SERVER - so now the SERVER has the CLIENTs public key. Finally, I added the hostname of CLIENT to /etc/hosts.equiv on SERVER. Then I HUPped sshd on SERVER. So now I go to CLIENT and run: ssh username@SERVER and it asks me for a password!! I even tried: ssh -1 username@SERVER and that didn't work either. I thought maybe RSA was ssh1 only, so I needed to force ssh1 ... but as I said, that didn't work either. Two questions: 1. What am I doing wrong ? 2. Am I right that using RSA host authentication like this will only work with ssh1 ? If so, how can I use ssh2 with host based key sharing ? thanks. _______________________________ Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. http://messenger.yahoo.com