Date: Thu, 18 Jan 2007 18:20:24 +0100 (CET) From: Christian Baer <christian.baer@uni-dortmund.de> To: freebsd-questions@freebsd.org Subject: ssh public key authentification Message-ID: <eooa8o$14k0$2@nermal.rz1.convenimus.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eooa8o$14k0$2>