X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0	tests=AWL,BAYES_00,SPF_NEUTRAL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4CDEA7FB.6090701@cornell.edu>
Date: Sat, 13 Nov 2010 10:00:11 -0500
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: sshd problem with recent snapshots
References: <4CD3F277.8020608@cornell.edu>
In-Reply-To: <4CD3F277.8020608@cornell.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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@localhost
> kbrown-admin@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.

Ken

--
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

