From owner-freebsd-questions Tue May 2 22:30:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id C465237BCFE for ; Tue, 2 May 2000 22:30:13 -0700 (PDT) (envelope-from DougB@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id WAA14035; Tue, 2 May 2000 22:30:00 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <390FB957.5AAF11A9@gorean.org> Date: Tue, 02 May 2000 22:29:59 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0422 i386) X-Accept-Language: en MIME-Version: 1.0 To: Noor Dawod Cc: questions@freebsd.org Subject: Re: OpenSSH and FreeBSD References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Noor Dawod wrote: > > Hello > > I installed OpenSSH 1.2.3 that comes with 4.0-STABLE. Then I used ssh-keygen > to generate private/public key pairs to use to log on to one of our server. > > I placed the identity.pub file in authorized_keys file on the remote > machine, and the identity file I put it on the local machine in > ~/.ssh/identity > > I also modified the /etc/ssh_config and /etc/sshd_config on both machines to > accept password-less RSA authentication based on key pairs. > > but it's not working! I used ssh-1.2.27 before, and it worked fine... > > What am I doing wrong, maybe one of the config files does not include the > right permissions to use this type of authentication? I had a similar problem. It went away when I set my home directory to 750, and ~/.ssh to 700. HTH, Doug -- Excess on occasion is exhilarating. It prevents moderation from acquiring the deadening effect of a habit. -- W. Somerset Maugham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message