This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cannot ssh: "Connection reset by peer" error when connecting


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 <http://cygwin.com/ml/cygwin/2003-09/msg00881.html> help?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]