delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/13/10:00:30

X-Recipient: archive-cygwin AT delorie DOT 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 AT cornell DOT 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 AT cygwin DOT com
Subject: Re: sshd problem with recent snapshots
References: <4CD3F277 DOT 8020608 AT cornell DOT edu>
In-Reply-To: <4CD3F277.8020608@cornell.edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 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.

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

- Raw text -


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