X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Tue, 24 Jan 2012 11:00:07 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Putty and pre-shared keys with Cygwin's sshd
Message-ID: <20120124100007.GK2456@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <jfcsbt$eci$1@dough.gmane.org> <1910391597.20120121163937@mtu-net.ru> <jff23g$h5j$1@dough.gmane.org> <1326199340.20120122003455@mtu-net.ru> <jffqqg$gke$1@dough.gmane.org> <1838817585.20120122072825@mtu-net.ru> <jfgbda$8o9$1@dough.gmane.org> <C78DB4FD-1F9A-4AB3-9BD9-456DDE9F424F@intersystems.com> <jfi9mf$id9$1@dough.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <jfi9mf$id9$1@dough.gmane.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Jan 22 16:30, Andrew DeFaria wrote:
> On 1/22/2012 10:21 AM, Len Giambrone wrote:
> >I believe that PuTTy is SSH2, while Cygwin is OpenSSH.  You can convert them using
> >ssh-keygen:
> >
> >ssh-keygen -f putty_key -i>  openssh_key
> I tried this. It didn't work. Same error as before.
> 
> Read 8.2.12 of the Putty help file - had no idea there was a format
> difference I had to do anything about! Tried what it said to do, use
> Conversions: Export to OpenSSH. But that key looks like:
> 
> Ltsdo-adefaria:more /tmp/sshkey
> -----BEGIN DSA PRIVATE KEY-----
> MIIBuwIBAAKBgQDI+RkFLTib52+4+OzI+035r8fIConadaJuXNd+ZRSOvoLJar44
> 1m7jgSnp2A52LJ8LJeC99c7NQ1BBoHueRkgBWReH7orWH2T/vlFrPRgIU48vvgPH
> 4OrLFRtmN/uYj/BTbWFilN2jFZiiESSr4pSOPNNSblqj+UYXfFxc2ZrhIQIVANFm
> lV9qPmupo+/ZQqw1uTRypqve98yI2ZbXTuwIFLAps2T4rQKjmgmfghNWgmUEP0Sm
> V8qEfW8JvSh773fwYgtsAfos/+GPqc7V+UysKT2Na+5sOgqALSX6yfLBi0xAA2Iy
> ToRtrHupAoGAOS7f1yopMnELx7GhAtEtREN1zDikwa8dVhilM1M38+eZH4Z0Wd/3
> H9W2iKKYjgj8lIIYGiXUxjEWhA3n/3N6HDT0O5X97Pp+dM7oHlAaKtGl0Y9ao+Zn
> SmXSquCsokL+1mh1baIe+VcyV2EA7Uat/B0zIlGpwfq4bQv0DmCjl4gCFDBh6pvn
> ckhR34s8s2jaQnkdgv+p
> -----END DSA PRIVATE KEY-----

Btw., you are aware that you should delete this key pair, aren't you?
With this mail you published the private key part, which means,
everybody can use this key to login to your machine, provided the
public counterpart is stored in the authorized_keys file.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

