From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123477 invoked by alias); 31 Oct 2016 19:36:15 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 123453 invoked by uid 89); 31 Oct 2016 19:36:15 -0000 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=Hx-languages-length:1783, H*MI:sk:bLZcOci, H*i:sk:bLZcOci, H*f:sk:CANnLRd X-HELO: mail-pf0-f181.google.com Received: from mail-pf0-f181.google.com (HELO mail-pf0-f181.google.com) (209.85.192.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 31 Oct 2016 19:36:13 +0000 Received: by mail-pf0-f181.google.com with SMTP id d2so6383450pfd.0 for ; Mon, 31 Oct 2016 12:36:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:reply-to:subject:references:to:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=ihcCzEtzxCSIlt7cmbKGWE0dWfzZZR1b1/OY6jegNOk=; b=Ri9HkTem5rFBbctaYBk6hNNct4mxW21rZoZST4kKbN7FF7BCk0V8251Pjf1CRHoZFD bD1bS/+cBfEPUOk8WHJnrH3MjZlUOBjURbabQTR19JWoLLkIPhTwIh19NES9an5g+y+g Ce1uUnVQuWwIZiL24yb/nw8Uyq5xvkVJ/Ot2Y3S1qN8o2ynBbWP+vLfeawjOHaqF+YaE VuyxnXm6pJUKbg5XMhLu2X51RVJF0kJ+ns601CESaYs3QZ1U4REKqrQgMhrVYT+07k3U sUZa/1w1mgNhvJmzDGI/RZOqcAF9XpFnqJ4iBrsmHrKS4SsIJsQruRoXe2yBn7F8ByRf iL0g== X-Gm-Message-State: ABUngvcbUwuUt5IEzEx6MQX6TJCZZr13GN3IFN85kyBUKDJQXIDnvZr8vivlMlrY2d10fw== X-Received: by 10.98.166.70 with SMTP id t67mr15601564pfe.132.1477942572376; Mon, 31 Oct 2016 12:36:12 -0700 (PDT) Received: from [10.10.10.18] (c-98-248-38-171.hsd1.ca.comcast.net. [98.248.38.171]) by smtp.gmail.com with ESMTPSA id x1sm37435236pax.7.2016.10.31.12.36.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Oct 2016 12:36:11 -0700 (PDT) Reply-To: reikred@gmail.com Subject: Re: windows 10 native ubuntu hijacked sshd and starts DOS shell References: To: Stephen John Smoogen , cygwin@cygwin.com From: reik red Message-ID: Date: Mon, 31 Oct 2016 21:19:00 -0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00304.txt.bz2 On 10/31/16 07:52, Stephen John Smoogen wrote: > On 30 October 2016 at 02:21, 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. >> > > > 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. -- 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