delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=dAsZGyMIymzc57ImPK3WN7u8lg3b/u/dTuALYR3799D6sMl2g+Nga | |
rCAXT6ZpoF7+/b/6Aoob99NfpIVtiJOcolTl4Q4lXqEu6BBAUg3AgCEqqATstwlq | |
MV/Ms57W9bNcU/wvYtuUX1vYaRg8kdF/qr1MyGNXWTrx9pRyKULbKI= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=4PUWCb+j1hr8LWsOw7eiYI3GBOo=; b=gau2h30XO3DdrqJGP6e4qsn5RbUE | |
/hyRNZ2CAonrhB6AY6IAbfeL2Tn30JuMTFbJYb8pcKniqmsiv60rKy4F0+3at51k | |
IaRG3LPWmUV57ko2/ALx/L/5dFF0sNoHGeWbdMn7+HyuDLsnc76+4MejeRvwh+mb | |
jtoykv6MuH+uhYs= | |
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Fri, 22 Aug 2014 22:19:33 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Windows 7 sshd can only login as cyg_server |
Message-ID: | <20140822201933.GN32314@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <53F6459F DOT 5060203 AT prager DOT ws> <20140822130626 DOT GK32314 AT calimero DOT vinschen DOT de> <53F77CAB DOT 4000800 AT cygwin DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <53F77CAB.4000800@cygwin.com> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--wA9WyeW1yVBM2Q32 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Aug 22 13:23, Larry Hall (Cygwin) wrote: > On 08/22/2014 09:06 AM, Corinna Vinschen wrote: > >On Aug 21 15:16, Bernd Prager wrote: > >>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: Permissi= on > >>denied > >> > >>Can anybody help? > > > >I'll have to test this, but as a start, can you try to setup > >cyg_server as a domain account? See > >https://cygwin.com/faq/faq.html#faq.using.sshd-in-domain >=20 > I know this is a contradictory report but logging in (pubkey) with my dom= ain > user account and local cyg_server actually works fine. I know. I'm > surprised too. ;-) This is W7 Enterprise and Cygwin 64-bit. Is your domain account an admin or a non-admin account? Today I confused myself a lot by trying it (I'm using a domain cyg_server account for years so it was a bit of hacking) and I was able to login with a domain admin account but not with a normal domain account. I didn't manage to debug this further. However, what I never encounter is a "chown(/dev/ptyX,...) Permission denied" message. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --wA9WyeW1yVBM2Q32 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJT96XVAAoJEPU2Bp2uRE+gfkQQAI6tdQ1lNe2U2jU/8mvl647w BV/Y7ITBATJ+hsLHLWTWf8Qf5WQcGbHGY1ryEsQMVZAW5MhPEYVrc98p8I0kiAri 1VJcMNMO/N7yMki/BfuE4MjO7lMM+ibQJ7i12NDqcZrAsU7AHQw38V+WE4lqT+Ck ANDhHxU4x8ItN6hHO/IPSf87AXcbIaFdOH8yY4YuKbknpRPZIqjtIIhEOPA9eBgC B9ciAKtCpVwNI+Cyo/gnmmpSWp07MkQyQv+YEImAvF2hZw14uU/icaCwMpkO1IYT I169OyeO1BzkBQVIYXtOI+OvApDLWiABDVET83RG5BobG9P0riBZDiXQTlos5Bp8 bMz9b1RXYN3Td+jY/U0Y7z0VW/9VTtz184zu5ZOuEtQAWkB2h5nMmcsrwK4+1gSu vm7PtzEaFrlkyJkZLK6KAIxfng0WNf/X58ro/u3kzkA/ek/ak7wNH5GRxGHuBRWo F71bz3bJhyL0CtAW9hzmk8hYAJfeeFnERpUYKpN2kNtfrF1zu4qH7qQF3PuITSv1 TkucUrTn1HaPyWbzaZpAknurJNqngPWVnHOyfEajWhLy2R2nO0ixiVrAadvYesEr nd5LEApwt9OHqj8n+GpeIcY26ToeLypz/gTPVJZIXK4Rp2AzwUuyRvur6HbAWI4m syCshx+4GkHMHxNXSpO7 =ZpVM -----END PGP SIGNATURE----- --wA9WyeW1yVBM2Q32--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |