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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Wed, 9 Jun 2004 13:13:37 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Web Solutions cc: cygwin AT cygwin DOT com Subject: Re: Cannot ssh: "Connection reset by peer" error when connecting In-Reply-To: <1897.1086795385@www24.gmx.net> Message-ID: References: <1897 DOT 1086795385 AT www24 DOT gmx DOT net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 On Wed, 9 Jun 2004, Web Solutions wrote: > Freshly installed cygwin on a Windows 2000 (german) system with Service Pack > 4 installed. After installation I run ssh-host-config and say "yes" to > privilege separation, use "tty ntsec" options, and install it as a service. > I then start the service. I login to the cygwin shell and run > ssh-user-config. > > When running ssh-user-config I always only create an RSA2 key. I have tried > creating RSA and DSA2 keys but they make no difference and the errors are > the same. > > For the sake of providing as much information as possible I am going to > paste the output of 3 different ssh -vvv sessions below. To quickly jump > from one to the other just do a find for "SESSION ONE" "SESSION TWO" or > "SESSION THREE" > > This first session: if I create the RSA2 key without a password I am > successfully able to connect from localhost: > > =========SESSION ONE====================================================== > OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004 > [snip] > Last login: Wed Jun 9 17:12:12 2004 from 127.0.0.1 > > > =========END SESSION ONE================================================= > > This next session is an unsuccessful connection attempt with the same user > config as before (RSA2 only) except using a password. The session fails: > > =============SESSION TWO================================================== > OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004 > [snip] > Write failed: Connection reset by peer > > =========END SESSION TWO================================================== > > This last session is trying to log in from a remote box, (RSA2 set to use > password): > > =============SESSION THREE================================================ > > OpenSSH_3.8.1p1 Debian 1:3.8.1p1-4, OpenSSL 0.9.7d 17 Mar 2004 > [snip] > Read from socket failed: Connection reset by peer > > ============END SESSION THREE============================================= > > finally, here is the sshd_config: > [snip] Does help? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/