From owner-freebsd-questions@FreeBSD.ORG Thu Jan 18 17:20:28 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1423E16A5E0 for ; Thu, 18 Jan 2007 17:20:28 +0000 (UTC) (envelope-from news@nermal.rz1.convenimus.net) Received: from mx2.netclusive.de (mx2.netclusive.de [89.110.132.132]) by mx1.freebsd.org (Postfix) with ESMTP id CD65C13C44B for ; Thu, 18 Jan 2007 17:20:27 +0000 (UTC) (envelope-from news@nermal.rz1.convenimus.net) Received: from nermal.rz1.convenimus.net (p3EE21983.dip0.t-ipconnect.de [62.226.25.131]) by mx2.netclusive.de (Postfix) with ESMTP id 0AF18260128 for ; Thu, 18 Jan 2007 18:20:26 +0100 (CET) Received: by nermal.rz1.convenimus.net (Postfix, from userid 8) id A589B1521B; Thu, 18 Jan 2007 18:20:24 +0100 (CET) To: freebsd-questions@freebsd.org Path: not-for-mail From: Christian Baer Newsgroups: gmane.os.freebsd.questions Date: Thu, 18 Jan 2007 18:20:24 +0100 (CET) Organization: Convenimus Projekt Lines: 28 Message-ID: NNTP-Posting-Host: garfield.rz1.convenimus.net X-Trace: nermal.rz1.convenimus.net 1169140824 37504 192.168.100.11 (18 Jan 2007 17:20:24 GMT) X-Complaints-To: abuse@convenimus.net NNTP-Posting-Date: Thu, 18 Jan 2007 17:20:24 +0000 (UTC) User-Agent: slrn/0.9.8.1 (FreeBSD) Subject: ssh public key authentification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jan 2007 17:20:28 -0000 Hi peeps! This may not seem to be a real FreeBSD-issue, but I've gotten this to run on several other machines, just not my Sun running FreeBSD. To clarify this: I haven't really tried this on any other FreeBSD system recently though. I'm probably just to thick to get it right, so go ahead and insult me, if you see the flaw in my scheme. :-) The main idea behind my evil plan is to be able to log into my other computers on the net (LAN) using PuTTY on a Windows-XP box without having to type my password all the time. Don't worry about the security aspect if my key could be stolen, I have taken other measures to avoid that. The whole thing should be pretty trivial: I created a key using PuTTY, copied the public key to ~/.ssh/authorized_keys (everthing in one line), chose the private key in PuTTY and tried to log in. All I got in response was: "Server refused out key." I went through all the default settings of the sshd (and yes, I did give it a HUP, when I changed the key) and everything checked out as far as I could tell. I had the feeling that PuTTY and the key created by it were the cause, so I created a key with ssh-keygen(1). Same result. What did I miss? Regards Chris