delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/09/09:48:12

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Subject: Re: CGI apps crashing? (Was: Re: id.exe crashes when using ssh (since 1.1.6?))
References: <006901c071d3$ad46a460$012aa8c0 AT limbo>
<20001229214427 DOT C4278 AT cygbert DOT vinschen DOT de>
<006c01c072bb$104cbfd0$012aa8c0 AT limbo>
<f5by9wlq9v5 DOT fsf AT cogsci DOT ed DOT ac DOT uk>
<20010109131600 DOT H1741 AT cobold DOT vinschen DOT de>
From: ht AT cogsci DOT ed DOT ac DOT uk (Henry S. Thompson)
Date: 09 Jan 2001 14:47:19 +0000
In-Reply-To: Corinna Vinschen's message of "Tue, 9 Jan 2001 13:16:00 +0100"
Message-ID: <f5belycpytk.fsf@cogsci.ed.ac.uk>
Lines: 103
User-Agent: Gnus/5.0805 (Gnus v5.8.5) XEmacs/21.2(beta13) (Demeter)
MIME-Version: 1.0

Corinna Vinschen <cygwin AT cygwin DOT com> writes:

Welcome back, hope you had a good holiday.

> On Tue, Jan 09, 2001 at 10:48:46AM +0000, Henry S. Thompson wrote:
> > So one more data point in this continuing effort to debug the
> > sshd-as-service crashes:
> > 
> > I've been running with sshd -d in my inet.conf, which has the side
> > effect that when I come in with ssh I see a dump of the environment
> > vars.  I noticed that at this point /(usr/)bin was _not_ in the path,
> > so I moved C:\cygwin\bin and C:\cygwin\user\local\bin from my private
> > environemt variable PATH setting to the system's PATH and restarted.
> > 
> > Not sure whether this actually helped, because although I can now
> > successfully ssh in from my Solaris box, I still can't ssh to myself
> > from cygwin directly.
> 
> Did you setup /etc/passwd correctly?

I hope so -- it appears as follows:

Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrator::500:513:,S-1-5-21-1216639349-1515132614-219625367-500::/bin/sh
Guest::501:513:,S-1-5-21-1216639349-1515132614-219625367-501::/bin/sh
hisarm::1001:513:Ruli Manurung,S-1-5-21-1216639349-1515132614-219625367-1001:/home/hisarm:/usr/bin/bash
ht::1000:513:Henry S. Thompson,S-1-5-21-1216639349-1515132614-219625367-1000:/home/ht:/usr/bin/bash

> What does the output of ssh -v contain? 

See below.

> You are using password authentication, aren't you?

Yes.

Note this is now back to failing from my Solaris box, which was
working as of my earlier report.  I'm not aware of changing anything
on my Win2K box in the interim, although of course more software is
now running than was then.

ht

mcilvanney<1420>: ssh -v -x calvin.cogsci.ed.ac.uk
SSH Version 1.2.26 [sparc-sun-solaris2.7], protocol version 1.5.
Standard version.  Does not use RSAREF.
mcilvanney: Reading configuration data /home/ht/.ssh/config
mcilvanney: Reading configuration data /etc/ssh_config
mcilvanney: ssh_connect: getuid 27024 geteuid 0 anon 0
mcilvanney: Connecting to calvin.cogsci.ed.ac.uk [129.215.197.215] port 22.
mcilvanney: Allocated local port 1019.
mcilvanney: Connection established.
mcilvanney: Remote protocol version 1.99, remote software version OpenSSH_2.3.0p1
mcilvanney: Waiting for server public key.
mcilvanney: Received server public key (768 bits) and host key (1024 bits).
mcilvanney: Host 'calvin.cogsci.ed.ac.uk' is known and matches the host key.
mcilvanney: Initializing random; seed file /home/ht/.ssh/random_seed
mcilvanney: IDEA not supported, using 3des instead.
mcilvanney: Encryption type: 3des
mcilvanney: Sent encrypted session key.
mcilvanney: Installing crc compensation attack detector.
mcilvanney: Received encrypted confirmation.
mcilvanney: Connection to authentication agent opened.
mcilvanney: Trying RSA authentication via agent with 'ht AT mcilvanney'
mcilvanney: Remote: RSA authentication refused for ht: bad ownership or modes for '/home/ht/.ssh/authorized_keys'.
mcilvanney: Server refused our key.
mcilvanney: RSA authentication using agent refused.
mcilvanney: Trying RSA authentication with key 'ht AT mcilvanney'
mcilvanney: Remote: RSA authentication refused for ht: bad ownership or modes for '/home/ht/.ssh/authorized_keys'.
mcilvanney: Server refused our key.
mcilvanney: Doing password authentication.
ht AT calvin DOT cogsci DOT ed DOT ac DOT uk's password: 
mcilvanney: Requesting pty.
mcilvanney: Requesting authentication agent forwarding.
mcilvanney: Requesting shell.
mcilvanney: Entering interactive session.
Last login: Tue Jan  9 10:53:01 2001 from calvin.cogsci.ed.ac.uk
Fanfare!!!
You are successfully logged in to this server!!!
      0 [main] a 0 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
Exception: STATUS_ACCESS_VIOLATION at eip=61001B87
eax=00000001 ebx=00000002 ecx=00000000 edx=0000000A esi=00000000 edi=0240FF74
ebp=0240FA30 esp=0240FECC program=a
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0240FA30  61001B87  (00000000, 00000000, 00000000, 00000000)
0240FEF4  61001B87  (0000010C, 61000001, 0240FF44, 610032C9)
0240FF44  610033D8  (004072CC, 6107C13C, 00000000, 00000000)
0240FF74  61003AAD  (00000000, 00000000, 00000000, 00000000)
0240FF94  61003AEC  (00407230, 004011D0, 0240FFC0, 00401038)
0240FFA4  00405206  (004011D0, 80430F7B, 77E992A3, FFFFFFFE)
0240FFC0  00401038  (00000000, 00000000, 7FFDF000, 0247D8A1)
0240FFF0  77E992A6  (00401000, 00000000, 000000C8, 00000100)


-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht AT cogsci DOT ed DOT ac DOT uk
		     URL: http://www.ltg.ed.ac.uk/~ht/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019