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=p29koCxUA2RoS1BHsBlxtQzC3RgjG7AHOPp0vWZg8fFyhtDJ4Z2Rp 1UA3jQMb9RC4iKJjqapNOSjiOnwbf9vYMdIu0KMDRMVO4tH1pO4jk/h0e0R8x4Lw XqMtijF1W50iES5dk8LMctvBDi5qXUGj6FIRSMXVOQIngWpoLDotFU= 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=N7kVQ/xlnMf6fC24bEonnlYHRYY=; b=jFqGkdK6JPUmn3EvYXz9ywfQIkEB qqtvkp78B08kO0wjY+1VA33/OL1v2cQoIVE/DHeIceReycdesEesdojCGWi6eKx7 PpdDRy2SCW59LlQm+wpjnXY/Rw2HHh3fNkESWw1dlTISjdyLFVM9Px6md1mkZGo3 J4iVKJfPkIVLY9I= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 15:06:26 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Windows 7 sshd can only login as cyg_server Message-ID: <20140822130626.GK32314@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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5uO961YFyoDlzFnP" Content-Disposition: inline In-Reply-To: <53F6459F.5060203@prager.ws> User-Agent: Mutt/1.5.23 (2014-03-12) --5uO961YFyoDlzFnP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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: >=20 > 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) >=20 > Connection to localhost closed by remote host. >=20 > In the Windows I see the error event: >=20 > sshd: PID 2968: fatal: chown(/dev/pty1, 124683, 10513) failed: Permission > denied >=20 > Can anybody help? I'll have to test this, but as a start, can you try to setup=20 cyg_server as a domain account? See https://cygwin.com/faq/faq.html#faq.using.sshd-in-domain Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --5uO961YFyoDlzFnP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJT90BRAAoJEPU2Bp2uRE+gNaYP/1pJX54vXTjr0eGXt5Of/r5C o+MT6bHhI2G4p/83R6yUZZXC4Kf7FWQrnmZegh/YVlzTnyUP1HEwHg95XO1SBR5U 8HkGtO0Pb2qx2M0yq+7V/NV9xDygeoG/GJI1yG/DJkay0G2NJwEa295OUT2Yyfw8 Om/vWrO85qbbgFEbw9AHP6RdavbeGeBCrvK+D1EsZT4oSqYQ8CzJNKAgiL7vcg46 qoXEWkGLd0DMaUS8nl5+x1XKWnnZ7xHdhA7ursZ6bbc8m9+6tvR0k9+MvIRNpktx xtmw+Iy/d9EyDzru56HfCMX9YpNmhd1oX9N1+x5A5OhvY6zyXGhhWUWosrPRUlgP F+lU0Y/PRo096cI3WPqh9dGiexnervmLWWKvHkAN560p7s9eSgd9jSEp1n6YmebL q2n4e+v0Dt5qgltjmbUqCVfvbtc1R2cImr6I5kN+QaSY29WPTyNKUW1i8fqx5xgD Bveyi28cREF/9TCKXFe0YplWGHRgSQIy4fIkkTsnHEvcrOLsb1U8aPs4tMjPnDb3 1s2w7lkpbXthZtN5sWDXoMAU+Yetd+NpUX3wCnE2SPacUIYkzof4QV0myFNs8P4O bEylh9LnRmAlc0KneQXA8+GyO60xz3SU0JEsBj9gvmRXECGj1716HFzN24Bp1PTV GuEybQtvMDbPpquDLWEA =OQ1u -----END PGP SIGNATURE----- --5uO961YFyoDlzFnP--