X-Recipient: archive-cygwin@delorie.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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc:content-type; q=dns; s=default; b=oyyj
	rPYwkh2jQeFSjQvMD1jj6qYDaDqS7ijK/3OK4jhQc4RCJIlxhom1M4EVpRSeiGOe
	4hn1k8YoX6symufsHRz5OTdGIs2ZoHga6+fAarW/selll5wjgA/JXFfh5Z55H9ST
	tRl8uhbtLU2B3KtBgT0Gqi46s0D8kj7YlO+zb+k=
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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc:content-type; s=default; bh=pzsjhLc4aw
	PBzKFRSjkyN1HGAJw=; b=nMSIR/GZxLPo6ls6apGKXYrnIMHOoIznkke8ekHUtY
	C0M9vXu1PDklzRI3WTFbVVM81Xv6QgoCDnCGoIZiWjQbcWGNaHqP2ZNyaZZbSfl9
	DQZgk5RbIFMtay7cihD7j+4yojOm4PxwqIo+uL7dq79y/y+0Cs+vZYV97aOv9SwQ
	U=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HCc:D*cygwin.com, HCc:U*cygwin, H*i:sk:dd67809, H*f:sk:dd67809
X-HELO: mail-vk0-f42.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:in-reply-to:references:from:date         :message-id:subject:to:cc;        bh=HZRYgg1SLpYWMz4q+de9m1PCSTjnfHwa2gPV5wRHsZ4=;        b=IfEBFZGS7a/hdPmOT840YUequU5n4ZArMzjWJUbnfclGfE71w8DKsaHsRL7Ig0N2U+         m79zmp2aVIMMebghVf/tpRT8AiXNGQu1KDLhQ21j7tSEtLy647P4Mh2GSC5T1zyyoEcF         JL+jzgrQZmRmFXHkMD4A2opZNjcfS2XCy3ObQq30Vth3smpDYjOdaB8uy5c/C8T5c305         3acRa+E4BcevZKHwb5D+kcWGBcDntJstUlfn2oXhgOzSeJFP2OxszlLn/TUkejalmC0R         /Pq6cVTmHY1W1WW3Q3UO6cMC97C23+AlSxg0dBbdtYJehGy6pTj3bbQtb9Z8xbxWNlzb         cYgA==
X-Gm-Message-State: ABUngvfR+s0DAQsF8s2ayDjpYeJH8FREjOgG0G+qYnFm1V810ee0+h9S5sdPiEGZLzoQfVEk/fOyGXflIxvdQQ==
X-Received: by 10.31.149.138 with SMTP id x132mr6989462vkd.86.1477948792486; Mon, 31 Oct 2016 14:19:52 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <dd67809c-e24a-1bf5-7a69-b48c2337816a@gmail.com>
References: <d333e184-6989-0994-44ae-3ec5743ad955@gmail.com> <CANnLRdhsAQe_vtQ61KNrKcUWy6wXT_Ce6=bLZcOciPpMG2EF-Q@mail.gmail.com> <dd67809c-e24a-1bf5-7a69-b48c2337816a@gmail.com>
From: Stephen John Smoogen <smooge@gmail.com>
Date: Mon, 31 Oct 2016 17:19:51 -0400
Message-ID: <CANnLRdiLyAQ4zb=XMOSZn1knep1gF3nRhELzhywe1yysZmvYmQ@mail.gmail.com>
Subject: Re: windows 10 native ubuntu hijacked sshd and starts DOS shell
To: reikred@gmail.com
Cc: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

On 31 October 2016 at 15:36, reik red <reikred@gmail.com> wrote:
> On 10/31/16 07:52, Stephen John Smoogen wrote:
>
>> On 30 October 2016 at 02:21, reik red <reikred@gmail.com> wrote:
>>> I updated my windows 10 laptop to the new "anniversary edition", which includes a "native" Ubuntu linux environment,
>>> which includes a bash shell and other packages.
>>>
>>> When I later tried to ssh into win10, I discovered that I no longer get a login to cygwin, but rather to Ubuntu (and
>>> with a new known_hosts fingerprint, as could be expected). Moreover, the login shell is not even bash but some sort of
>>> DOS shell.
>>>
>>> My question is: Has anyone figured out how to steal sshd back to Cygwin, or, alternatively, to redirect the Ubuntu sshd
>>> to start a Cygwin shell? Because Win10/ubuntu is very new, there seems to be not much information out there.
>>>
>>
>>
>> 1. This isn't the Ubuntu sshd or anything to do with Ubuntu. Windows
>> 10 comes with its own SSHD which can be started and will drop you into
>> a cmd.exe I don't know why it was active on your system after the
>> update.. what version of 10 are you running?
>> 2. To get Ubuntu working you need to download extra items from the
>> Windows store.
>>
>> you found my 3. which was to run msconfig :).
>>
>
> You may very well be correct that the sshd I disabled is a new-ish Windows feature and not from Ubuntu. All I know is
> that it appeared after I did the windows 10 home AE 2016 update, to be specific, to version 10.0.14393.
>
> Ubuntu may have yet another sshd package available, which in my case would then be the 3d such packge. I will avoid
> installing it :).
>
> Upshot: I hope people will benefit from this thread when the coexistence of Windows, Cygwin and Windows WSL (Windows
> Subsystem for Linux) creates unexpected sshd behavior.


Me too. This email had me go look at the Windows boxes at the house to
see if they had turned this on. None of them have so far but I may not
have had them in a way that they would have it happen on upgrade.

-- 
Stephen J Smoogen.

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

