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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=vD8DZzTL9BKh0aDu
	f0BC09FddaTx66y0j7xBOzZP4HoVTWfwnnPWZ8jqkyRkfj4Fd9Ia3XzGbt/vbFyX
	OKTTEYgqX82O4n+bBDUKW6hyD0jVdIe/eBbjFFGd9oL6zpc1mMQ30R1lYDCJjxng
	VzCkXNdXwQgs4PC0KHM6liNk1NA=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=Sgv98PRsLkZPbKP6oH48CI
	PMQHs=; b=WCofUE8r1Ze3kV97Wc4inGuiXXdZMR75uXcu+cVDVBqzmepvA85Y3L
	VNDg+bV5ns3xQh4GJCr2TXMJ1tAwbf6Jn3b2moE6fzKrqIPizNCHEsZ/gFoIiHCg
	0WMmZdglkFeOlAvxgZD1iY/NYv3H00R8Q+8ev+/57Q7az3IgBrsIs=
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.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=reik, H*i:sk:d333e18, Hx-languages-length:888, H*f:sk:d333e18
X-HELO: mail-oi0-f47.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:subject:to:references:from:message-id:date         :user-agent:mime-version:in-reply-to:content-transfer-encoding;        bh=mE+wjSr7w+Z80mQLwMI9ht2EDdi/6WdcdRAKc91CPmA=;        b=iHB9/ivbY98AQR+TnnTyrx3NDbZmDGitR1/Ch7nYOpvVXrWZIa6BVbjTet8U7xkrtV         /GCndRk4UUqSZb77hT6BbLdcQP/BuI1l5EZ407qLdB/loMrjxm5MYe+xyJJ4KhYA+iEy         wv3dVCLg12BlkWj18Ph+ntWrIxWiCoPGhd5+gjeuqVQAbQpsoYDZRzVDepRKUcRfaNL9         DfGwkO6HHMp+TuOoVzvDHfCNPNoM0qfHf5pzrYzBesdF7N6mY/tIUP27wP46AWfiJ1Q7         6WthhiOOYUtHEBJ0R4peiTjW2o52lFtLAng9WpSkW2C2iiKjxEh9ievvUGvHbhhbnuNq         E2HQ==
X-Gm-Message-State: ABUngvd8u3I5ES8uVVn3Vp3+gxZu+NHhnxNxJ/F/TyZhJZsaxWu/9acn+WHV8nD1VtLMmA==
X-Received: by 10.36.58.12 with SMTP id m12mr5870924itm.88.1477852617223;        Sun, 30 Oct 2016 11:36:57 -0700 (PDT)
Subject: Re: windows 10 native ubuntu hijacked sshd and starts DOS shell
To: cygwin@cygwin.com
References: <d333e184-6989-0994-44ae-3ec5743ad955@gmail.com>
From: cyg Simple <cygsimple@gmail.com>
Message-ID: <3baa153e-d390-274a-ffdc-7d16f21e6420@gmail.com>
Date: Sun, 30 Oct 2016 14:36:57 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <d333e184-6989-0994-44ae-3ec5743ad955@gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

On 10/30/2016 2:21 AM, reik red 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.

Not having it my self my SWAG is you need to disable the sshd in the
ubuntu environment or Windows services.

-- 
cyg Simple

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

