Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Reply-To: Cygwin List Message-Id: <6.2.1.2.0.20050412134619.03b31080@pop.prospeed.net> Date: Tue, 12 Apr 2005 13:50:06 -0400 To: Christophe Sauthier , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: Strange behaviour of Openssh In-Reply-To: <780a907f0504120855173b459f@mail.gmail.com> References: <780a907f0504120855173b459f AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 11:55 AM 4/12/2005, you wrote: >Hi, > >I encounter some strange stuff when I try to connect to openssh on my >server (which is using cygwin) using openssh clients (using cygwin >too). > >The connection is perfect when I have no public keys at all on the >client side. But as soon as I get any key (dsa or rsa generated using >ssh-keygen ) on the client side the connection can never been >established and I receive the message "Read from the socket failed : >Connection reset by peer". When I am debugging it in verbose mode, the >log of client last lines are : > >debug3 : send_pubkey_test >debug2 : we sent a publickey packet, wait for reply >Read from the socket failed : Connection reset by peer > > >I have absolutly nothing on the server log.... Stop the server, add '-d -d -d' as flags to the server (by editing the registry, uninstalling the service and reinstalling with these flags, or just installing a new debug service), restart it and try it again. The server will stop after this attempt but you will get information in the log with debugging output. That should help. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/