X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=2.0 required=5.0	tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-InterSystems: Sent from InterSystems
X-InterSystems: Sent from InterSystems
X-InterSystems: Sent from InterSystems
X-InterSystems: Sent from InterSystems
From: Len Giambrone <Len.Giambrone@intersystems.com>
To: Andrew DeFaria <Andrew@DeFaria.com>
CC: "<cygwin@cygwin.com>" <cygwin@cygwin.com>
Subject: Re: Putty and pre-shared keys with Cygwin's sshd
Date: Sun, 22 Jan 2012 18:21:38 +0000
Message-ID: <C78DB4FD-1F9A-4AB3-9BD9-456DDE9F424F@intersystems.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>
In-Reply-To: <jfgbda$8o9$1@dough.gmane.org>
Content-Type: text/plain; charset="us-ascii"
Content-ID: <4B66780C48FC9C4E982E2EFB6BB85852@exchangemail.iscinternal.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q0MILuLp019804

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

-Len




On Jan 22, 2012, at 1:47 AM, Andrew DeFaria wrote:

> On 01/21/2012 07:28 PM, Andrey Repin wrote:
>> Well, *I* am using Cygwin SSH and PuTTY. And I've had no issues other than
>> what I have explained.
>> One way or another, back or forth, to my Linux box, or from it, from my
>> Windows box to any imaginable server around the globe - no problem.
> The scenario here is going from one Windows box using PuTTY to another Windows box using OpenSSH in Cygwin.
>> Using puttygen to create new keys, or converting keys from OpenSSH to
>> PuTTY, or the other way around to use for Cygwin's ssh in test box.
>> It just works. Exactly as described in PuTTY help file, chapter 8.2.
> I'm glad it's working for you, I wish it were working for me.
> 
> You mention "converting keys from OpenSSH to PuTTY, or the other way around". What is this conversion process that you speak of? How do you convert a PuTTY key to an OpenSSH key? Because so far nobody's mentioned where in this process I need to convert between the two.
>> Check Windows event log. Though, it's obvious.
>> Also keep an eye on nearby discussion regarding SSHD issues. It may be your
>> case too.
> I will check when I get back into work (don't run Windows nor PuTTY at home to check things) but I thought Cygwin's sshd logs to /var/log/sshd.log. Otherwise why would I have a file there at all?
> -- 
> Andrew DeFaria <http://defaria.com>
> Indecision is the key to flexibility.
> 
> 
> --
> 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
> 


--
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


