delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/15/11:40:57

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 15 Nov 2010 11:40:13 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: sshd problem with recent snapshots
Message-ID: <20101115164013.GB26984@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4CD3F277 DOT 8020608 AT cornell DOT edu> <4CDEA7FB DOT 6090701 AT cornell DOT edu> <20101115160956 DOT GC17405 AT calimero DOT vinschen DOT de> <4CE15D71 DOT 1040002 AT cornell DOT edu>
MIME-Version: 1.0
In-Reply-To: <4CE15D71.1040002@cornell.edu>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mon, Nov 15, 2010 at 11:18:57AM -0500, Ken Brown wrote:
>On 11/15/2010 11:09 AM, Corinna Vinschen wrote:
>> On Nov 13 10:00, Ken Brown wrote:
>>> On 11/5/2010 8:03 AM, Ken Brown wrote:
>>>> If I start sshd on a machine running a recent snapshot, I'm unable to
>>>> login to that machine via ssh.  The connection is closed right after I
>>>> type my password.  The problem first appears in the snapshot of
>>>> 20100917.  To reproduce:
>>>>
>>>> 1. Start sshd.
>>>>
>>>> 2. While logged in as one user, try to login as another user.  For example:
>>>>
>>>> $ ssh kbrown-admin AT localhost
>>>> kbrown-admin AT localhost's password:
>>>> Connection to localhost closed by remote host.
>>>> Connection to localhost closed.
>>>>
>>>> The same thing happens if I try to ssh in from a different machine on
>>>> the network.
>>>
>>> Further information:  There are two entries in the Windows Event
>>> Viewer (Application Log) after the failed login:
>>>
>>> sshd: PID 2264: Accepted password for kbrown-admin from ::1 port 1025 ssh2.
>>>
>>> sshd: PID 2264: fatal: chmod(/dev/tty1, 0622) failed: Permission denied.
>>
>> Hmm, that's weird.  I'm using the latest Cygwin from CVS, and I cannot
>> reproduce this.  I tried to login from a remote machine with pubkey and
>> password authentication using an admin account as well as a normal user
>> account.  Works fine for me in all these cases.
>>
>> I can't quite believe it, but maybe that's OS related.  I'm running my
>> tests on W7 in the first place.  What OS are you using?
>
>XP SP3.

FWIW, I couldn't duplicate this on XP SP3 but my ssh installation was a
little nonstandard.  I ended up breaking ssh entirely over the weekend
so I'm looking for a random helpful blog to help me diagnose the
problem.

But, seriously, I'll check this as soon as I get things back to a running
state.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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