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-87950-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1LDQFi-0004VB-GY
	for garchives@archives.gentoo.org; Thu, 18 Dec 2008 21:17:50 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4D4DBE03BA;
	Thu, 18 Dec 2008 21:17:48 +0000 (UTC)
Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.180])
	by pigeon.gentoo.org (Postfix) with ESMTP id 07578E03BA
	for <gentoo-user@lists.gentoo.org>; Thu, 18 Dec 2008 21:17:47 +0000 (UTC)
Received: by ik-out-1112.google.com with SMTP id b32so150886ika.2
        for <gentoo-user@lists.gentoo.org>; Thu, 18 Dec 2008 13:17:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:from:reply-to:to:subject:date
         :user-agent:references:in-reply-to:mime-version:content-type
         :content-transfer-encoding:message-id;
        bh=PetvnzmRvW4sr4z/UZACXLeUaHyyRu8bVTQym1/oLwg=;
        b=wyl4XhsJZpTnP5NMmJ+G9FMCxFCAHK3cHA3mRpBDzeXpdqvXI9YT6xSZjDrHFIq3FE
         5ANBf4MbjT2vbBVpDaTSD83ro+P/0h6pFKATuhG7vhZQVYjOw74x4wHy2u9wvPX+4Z0F
         jDtGHdSgtM+3/dSuUGaok8566DCmAzniLDX0c=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=from:reply-to:to:subject:date:user-agent:references:in-reply-to
         :mime-version:content-type:content-transfer-encoding:message-id;
        b=TQuNh4HLf0B8w5CMT86TxPP1J/xbOhUQWnz2bCQv1FVbZzj0LG5i+50piWHKBr/Wn1
         IEkWWVdv4mEk/CCP3Ms0aYPQmBQoRY92BAIrAzyCXPbhhPPpne0LIjKlEMcmpy3GjB8u
         Fyn2151lhCcmVXY2GKWdMSDKphcGxU5lVmSLo=
Received: by 10.210.109.10 with SMTP id h10mr2824067ebc.154.1229635066966;
        Thu, 18 Dec 2008 13:17:46 -0800 (PST)
Received: from lappy.study (the3mountains.plus.com [212.159.46.48])
        by mx.google.com with ESMTPS id g11sm4949855gve.16.2008.12.18.13.17.44
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Thu, 18 Dec 2008 13:17:45 -0800 (PST)
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Cannot login with publickey on sshd
Date: Thu, 18 Dec 2008 21:17:13 +0000
User-Agent: KMail/1.9.9
References: <200811282353.59923.michaelkintzios@gmail.com> <200812020635.26872.michaelkintzios@gmail.com> <494A4CAF.2010206@gmail.com>
In-Reply-To: <494A4CAF.2010206@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: multipart/signed;
  boundary="nextPart1952788.pkixCt78F9";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200812182117.42962.michaelkintzios@gmail.com>
X-Archives-Salt: c3c64bd3-1aab-4a40-b85a-536a9631382a
X-Archives-Hash: 40de55abf896fdd58e29a53d2bfc83dd

--nextPart1952788.pkixCt78F9
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Thursday 18 December 2008, Eric Martin wrote:
> Mick wrote:

> > I have now also tried to generate a key pair on the server, move the
> > private key over to the client and then try to login - still no result!=
=20
> > :-(
> >
> > It has to be some sort of incompatibility between the two versions of
> > OpenSSH. Don't know what else to assume with this problem.
>
> It definitely looks like the server doesn't like your private key.  Did
> you remember to update(read: add) the public key on the server?=20

Oops!  I forgot about this thread - sorry.  I finally found out what was=20
causing it:

I had an entry for a previous server on the same IP address in the=20
~/.ssh/config file on the client and had disabled publickey to make the log=
in=20
faster.  On that occasion the server was a router and it did not offer=20
publickey authentication.  After a couple of years I had forgotten all abou=
t=20
it . . .=20

> 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 yo=
u=20
have to be careful with hard returns at the end of lines (CR/LF).  Use=20
Notepad++ to paste your key in and you should find that it works fine.
=2D-=20
Regards,
Mick

--nextPart1952788.pkixCt78F9
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEABECAAYFAklKvfYACgkQ5Fp0QerLYPe0gwCfbfvSKrY8xpaAXVeAYgrA5XQH
yl4AoMfVASGcIcwdZ1Fq+wkKdRhbYEN1
=rtP+
-----END PGP SIGNATURE-----

--nextPart1952788.pkixCt78F9--