From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-87953-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1LDRq8-0000R4-9I
	for garchives@archives.gentoo.org; Thu, 18 Dec 2008 22:59:32 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 580ABE02E5;
	Thu, 18 Dec 2008 22:59:30 +0000 (UTC)
Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187])
	by pigeon.gentoo.org (Postfix) with ESMTP id 15187E02E5
	for <gentoo-user@lists.gentoo.org>; Thu, 18 Dec 2008 22:59:29 +0000 (UTC)
Received: by nf-out-0910.google.com with SMTP id c7so105852nfi.26
        for <gentoo-user@lists.gentoo.org>; Thu, 18 Dec 2008 14:59:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to
         :subject:in-reply-to:mime-version:content-type
         :content-transfer-encoding:content-disposition:references;
        bh=+4Wf607Do0HFk4WTF0VWRzSXqC68Hr0COMSqCz7htoU=;
        b=HfznCiCHpaVGvd3AKVmPlcQZ4A+jX4+p+HCmzuDJdSOjuAYXBTJi4xlX4dEK4XrfTb
         ALpPOc4ZRSKLEE1TDL/CWB4QEyrWE2CxoAHOVhANnF+1fG1KK9hkbOk6rpOWqvL+1pcw
         wX0F2q/rdkQOHsIbliWbcYiVdVILK6tDBlnKU=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:in-reply-to:mime-version
         :content-type:content-transfer-encoding:content-disposition
         :references;
        b=PPpknpHO2qT2zppIFb/KHCa8FVNnayfXQhkuG84zJJPJ7PvVDwb7bfe/mHb17Y3pCh
         JSOLECh25R+mK+2erR9sjQyFYUENaSvQc9v4j/mjZkZQpowQZqGCOhFlPNKq9k/jx4en
         w+X5h/PnIKNfAO9vTrBWux+4XB3pyrsexwdYs=
Received: by 10.210.10.8 with SMTP id 8mr999584ebj.79.1229641169607;
        Thu, 18 Dec 2008 14:59:29 -0800 (PST)
Received: by 10.210.112.9 with HTTP; Thu, 18 Dec 2008 14:59:29 -0800 (PST)
Message-ID: <ae47c6e50812181459g3c6be661scd11b49d3a35bd41@mail.gmail.com>
Date: Thu, 18 Dec 2008 17:59:29 -0500
From: "Eric Martin" <freak4uxxx@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Cannot login with publickey on sshd
In-Reply-To: <200812182334.16724.alan.mckinnon@gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <200811282353.59923.michaelkintzios@gmail.com>
	 <494A4CAF.2010206@gmail.com>
	 <200812182117.42962.michaelkintzios@gmail.com>
	 <200812182334.16724.alan.mckinnon@gmail.com>
X-Archives-Salt: 37265ab2-8fe8-4364-9055-8871be15815b
X-Archives-Hash: 8f798cfde592f015cdf35e0cbee3d062

Great to hear that the problem is solved!  I've used puttygen before
to convert keys (both ways) but when I used it the other day to create
a key on windows & convert it wouldn't work. Oh well!

On 12/18/08, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On Thursday 18 December 2008 23:17:13 Mick wrote:
>> > The only time I have a problem w/pub/private keys is when
>> > I create them on a windows box and try to export it to ssh.  The other
>> > way around always works for me.
>>
>> The MSWindows generated keys will work, either from PuTTY or Cygwin, but
>> you have to be careful with hard returns at the end of lines (CR/LF).  Use
>> Notepad++ to paste your key in and you should find that it works fine.
>
> PuTTY comes with a utility to convert it's keys to openssh format. I insist
> my
> PuTTY users do this themselves before they send me the public key to be
> deployed on the servers. It works well for me - if they get stroppy and
> don't
> do this, they don't get access <shrug>
>
> --
> alan dot mckinnon at gmail dot com
>
>