This is the mail archive of the
mailing list for the Cygwin project.
Re: windows 10 native ubuntu hijacked sshd and starts DOS shell
- From: reik red <reikred at gmail dot com>
- To: Stephen John Smoogen <smooge at gmail dot com>, cygwin at cygwin dot com
- Date: Mon, 31 Oct 2016 12:36:10 -0700
- Subject: Re: windows 10 native ubuntu hijacked sshd and starts DOS shell
- Authentication-results: sourceware.org; auth=none
- References: <email@example.com> <CANnLRdhsAQe_vtQ61KNrKcUWy6wXT_Ce6=bLZcOciPpMG2EF-Q@mail.gmail.com>
- Reply-to: reikred at gmail dot com
On 10/31/16 07:52, Stephen John Smoogen wrote:
> On 30 October 2016 at 02:21, reik red <firstname.lastname@example.org> 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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple