X-Recipient: archive-cygwin AT delorie DOT 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 To: Andrew DeFaria CC: "" Subject: Re: Putty and pre-shared keys with Cygwin's sshd Date: Sun, 22 Jan 2012 18:21:38 +0000 Message-ID: References: <1910391597 DOT 20120121163937 AT mtu-net DOT ru> <1326199340 DOT 20120122003455 AT mtu-net DOT ru> <1838817585 DOT 20120122072825 AT mtu-net DOT ru> In-Reply-To: Content-Type: text/plain; charset="us-ascii" Content-ID: <4B66780C48FC9C4E982E2EFB6BB85852 AT exchangemail DOT iscinternal DOT com> MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 > 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