delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/10/30/18:06:12

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:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=gSFMRLR5oFYzWnoV
fI/bF10E6i6NCq8LW0Ns3IUPoAQqmt5k0R7juvGm/0tuaB8ApaRHr3Yhr/5NaT+3
p6Hnze/HGc54vFzPmIkLXh848lbuVrkM9VG+EzAHyvL/hA6o0k2oO2J4+7Z60ShN
wGieXYIUk5tkSisDL6CvWkSjPAA=
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:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=DOVTN3X+3EsEyymeSBGEmC
+H8ys=; b=eUNLBez6B0h0ZMvS1i9t7nqH7M6gzXorwElGArrRTMy7wBCI0qzoRC
fAtykP7s11wx3xwyWkG2z8BH6vvjyjIuhT6segzrHiZyMPCpcSS54XZ3L0hcA6/k
i9fizOiw/Bjy0WLVD2LIvXEd+vBr4mfeRtIcaffePnsfp3N72l0JQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-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
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)
Reply-To: reikred AT gmail DOT com
Subject: Re: windows 10 native ubuntu hijacked sshd and starts DOS shell
References: <d333e184-6989-0994-44ae-3ec5743ad955 AT gmail DOT com> <3baa153e-d390-274a-ffdc-7d16f21e6420 AT gmail DOT com>
To: cygwin AT cygwin DOT com
From: reik red <reikred AT gmail DOT com>
Message-ID: <01be0d6a-8a1c-de15-40e4-e2b7bfaa0d6b@gmail.com>
Date: Sun, 30 Oct 2016 15:05:41 -0700
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>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019