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 Message-ID: <780a907f05041305275093a171@mail.gmail.com> Date: Wed, 13 Apr 2005 14:27:39 +0200 From: Christophe Sauthier Reply-To: Christophe Sauthier To: Cygwin List Subject: Re: Strange behaviour of Openssh (SOLVED) In-Reply-To: <780a907f0504130139431cfd23@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <780a907f0504120855173b459f AT mail DOT gmail DOT com> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050412134619 DOT 03b31080 AT pop DOT prospeed DOT net> <780a907f0504130139431cfd23 AT mail DOT gmail DOT com> X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j3DCSHXD011579 I managed to establish the connection by setting the user that launches the service in the administrators group. (as explained in http://www.cygwin.com/ml/cygwin/2003-09/msg00977.html ) Thanks everyone for your precious help. Chris On 4/13/05, Christophe Sauthier wrote: > Ok, thanks to that I have a clearer view of the problem : the server > seems to have a setuid problem... > > here is the last relevant lines of my log : > > debug1: temporarily_use_uid 1003/513 (e=1005/513) > seteuid 1003: Permission denied > > Does anybody has got clue how to solve it ? > > > On 4/12/05, Larry Hall wrote: > > 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 > > > > > > -- > Ma vie | > Mes images | http://www.reponses.net > Mon Wiki | > -- Ma vie | Mes images | http://www.reponses.net Mon Wiki | -- 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/