From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44746 invoked by alias); 30 Oct 2016 22:05:47 -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 44729 invoked by uid 89); 30 Oct 2016 22:05:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=broker, Broker, H*f:sk:3baa153, H*MI:sk:3baa153 X-HELO: mail-pf0-f171.google.com Received: from mail-pf0-f171.google.com (HELO mail-pf0-f171.google.com) (209.85.192.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 30 Oct 2016 22:05:45 +0000 Received: by mail-pf0-f171.google.com with SMTP id n85so65896771pfi.1 for ; Sun, 30 Oct 2016 15:05:44 -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=vpvOm5si1/uABrH2eaBcIeswbrJIAEiCorX+UPvE/Ow=; b=NSm8L3neT052MMvfbIe9FEXSohz7U8nfk0AL0QLlGUPivXI08s0msmo6xVEPPDwtye +z7v7nZ/M6Nv/uBOLZeF/jjuOwjkJbnOGZdZ1P7aUM/87LoUnNR7Qirhuz091kPTVeBN p5wjZ1E8/JsbdRzBbzoqQwpihTzR7vSZqePJkoPX0qEf1QryIe/WKT9PUHpW0XW7a60v wwCVXIBNRqooUij4Etn0ub7KiAAYej6yy8V+xhTj/Jc4L+eAo/g1VyJGKyyuDMF0TBtz ElXPmmvOsOh0g+30h2hLUVMDygYMlN5oXX7LyZi/7T/LyiNzJsvzSOhVoIYE72jAQXd2 kpeA== X-Gm-Message-State: ABUngvcz2Or4Ws+vS7Zmz2LlutZgjYOJmt9ueDNfJooABlKosM8rYiUb32fMm7ho2WyBtQ== X-Received: by 10.99.125.68 with SMTP id m4mr35747431pgn.58.1477865143299; Sun, 30 Oct 2016 15:05:43 -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 j4sm31836041pal.25.2016.10.30.15.05.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Oct 2016 15:05:42 -0700 (PDT) Reply-To: reikred@gmail.com Subject: Re: windows 10 native ubuntu hijacked sshd and starts DOS shell References: <3baa153e-d390-274a-ffdc-7d16f21e6420@gmail.com> To: cygwin@cygwin.com From: reik red Message-ID: <01be0d6a-8a1c-de15-40e4-e2b7bfaa0d6b@gmail.com> Date: Mon, 31 Oct 2016 01:01: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: <3baa153e-d390-274a-ffdc-7d16f21e6420@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00300.txt.bz2 On 10/30/16 11:36, cyg Simple wrote: > 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. > I found a method that works: Run msconfig, select the tab called services, and uncheck the the checkmarks of a) SSH Server Broker and b) SSH Server Proxy. Then restart (reboot), and cygwin sshd server will run as it did before (if it was running before, that is). -- 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