public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: reik red <reikred@gmail.com>
To: Stephen John Smoogen <smooge@gmail.com>, cygwin@cygwin.com
Subject: Re: windows 10 native ubuntu hijacked sshd and starts DOS shell
Date: Mon, 31 Oct 2016 21:19:00 -0000	[thread overview]
Message-ID: <dd67809c-e24a-1bf5-7a69-b48c2337816a@gmail.com> (raw)
In-Reply-To: <CANnLRdhsAQe_vtQ61KNrKcUWy6wXT_Ce6=bLZcOciPpMG2EF-Q@mail.gmail.com>

On 10/31/16 07:52, Stephen John Smoogen wrote:

> On 30 October 2016 at 02:21, reik red <reikred@gmail.com> 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

      reply	other threads:[~2016-10-31 19:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-30  8:05 reik red
2016-10-30 19:39 ` cyg Simple
2016-10-31  1:01   ` reik red
2016-10-31 19:36 ` Stephen John Smoogen
2016-10-31 21:19   ` reik red [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dd67809c-e24a-1bf5-7a69-b48c2337816a@gmail.com \
    --to=reikred@gmail.com \
    --cc=cygwin@cygwin.com \
    --cc=smooge@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).