delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/21/15:17:14

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=lFq
pVO5Fxs4dVMHa9rUAwv3sZO2oOzDV9krYRskQdZjlCp4Biv87HuVGEQL3WMi8U9P
vxflRSk9mlJmPN/iWqzwAq6JEDGAc0iOn2vGMp9vCvKdArF6ZqsSJH8FRjd0pPzc
CGG7wJlFo/5FcPlhJqUir1F+KI7vymPojP0ve4Fs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=sJ4Jk84W1
xEb6BI10+MQHmEMnRc=; b=o+iGR9C9nxm6U2dw+Q8y/Til/qc7HPWIKRJj4Mjwl
fFCpgCvCiASJ5xQGSEpa0iNGQTnBHOCwpfwKIaFk2eytXK4ovE0bMzXbU/s8HOOe
PqlQHA7u7CunwSOlpWIgd+rRdaweH6sN39bRRY2OT+qyM4hzcosOo/BAWs/ntxtI
gQ=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2
X-HELO: gproxy7-pub.mail.unifiedlayer.com
X-Authority-Analysis: v=2.1 cv=e5mVF8Z/ c=1 sm=1 tr=0 a=4AG7SanD5BnOJqNXMRWnJw==:117 a=4AG7SanD5BnOJqNXMRWnJw==:17 a=cNaOj0WVAAAA:8 a=f5113yIGAAAA:8 a=-KpzFdj539cA:10 a=Cim52tdUc6MA:10 a=cwNWo4rajhsA:10 a=IkcTkHD0fZMA:10 a=zw-YTd1iAAAA:8 a=r-eHKZTen0MA:10 a=0ib7giJ4WH4A:10 a=HU1OPnRnAAAA:8 a=3puRn65HMwYouLi3FGYA:9 a=QEXdDO2ut3YA:10 a=KrWDQ6y8K3YA:10
Message-ID: <53F6459F.5060203@prager.ws>
Date: Thu, 21 Aug 2014 15:16:47 -0400
From: Bernd Prager <bernd AT prager DOT ws>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Windows 7 sshd can only login as cyg_server
X-Identified-User: {1020:box307.bluehost.com:pragerws:prager.ws} {sentby:smtp auth 108.30.198.10 authed with bernd AT prager DOT ws}
X-IsSubscribed: yes

I just installed cygwin on Windows 7 and configured sshd with 
ssh-host-config.
I checked all the permission and everything seems to be fine.

I can connect as local user "cyg_server" but not as myself (a standard 
Windows 7 domain user).
I am asked for a password and then I get:

debug3: packet_send2: adding 48 (len 61 padlen 19 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
Authenticated to localhost ([127.0.0.1]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Requesting no-more-sessions AT openssh DOT com
debug1: Entering interactive session.
debug2: callback start
debug2: fd 3 setting TCP_NODELAY
debug3: packet_set_tos: set IP_TOS 0x10
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug2: channel 0: request shell confirm 1
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
   #0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cc -1)

Connection to localhost closed by remote host.

In the Windows I see the error event:

sshd: PID 2968: fatal: chown(/dev/pty1, 124683, 10513) failed: 
Permission denied

Can anybody help?

Thank you,
-- Bernd



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