windows 10 native ubuntu hijacked sshd and starts DOS shell

reik red reikred@gmail.com
Mon Oct 31 01:01:00 GMT 2016


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



More information about the Cygwin mailing list