X-Recipient: archive-cygwin@delorie.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:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=LbXoqboVj9BPbheo
	W0SkOe1wBDqstZr7pt8Y6Yn8KRITDh3QD6sX30m788kHeNMefE5nSwQ5ckyByn/V
	CDITTiRGJaZl3sRuaMdT13OvPEJfEJ7lw7mV2pvjTWTxxIoj0GQW47G0EVh6xeI9
	qCZ+1TFCwhKfkTqKnTWGpl4N9C8=
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:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=bVI6OsWoZ4AP3DZRcEqRha
	9Mymo=; b=AYeYjrA+HUihhKlJtRDaEDbM4Nxc5bwE8AKSNWdZ8Qm1yN0N904+sP
	UEflk2GhNRWF9icuI9Y/jYxIw1SWwzce3dUYGjmMlgsnUJFYR8pzTDtmniSSsrtM
	c2gqNcdI6p7gDEoIHBaL8gKs78Vrs1bQfss+seaNd06MjYMGDYmXk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=canada, Canada, calgary, Calgary
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.3 cv=OeS28CbY c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=5rdAdZEPqPqKOx0pv2AA:9 a=QEXdDO2ut3YA:10
Reply-To: Brian.Inglis@SystematicSw.ab.ca
Subject: Re: ssh login to cygwin bash?
To: cygwin@cygwin.com
References: <20180329142411.GZ12560@rus.uni-stuttgart.de> <CACoZoo3dtAvb1FpGfYB6FguJZRFOohTiguxPo-Zn1DkRTVi7aA@mail.gmail.com>
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Message-ID: <f362ae86-2914-30b5-eaeb-4fae8598a6db@SystematicSw.ab.ca>
Date: Thu, 29 Mar 2018 14:17:14 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <CACoZoo3dtAvb1FpGfYB6FguJZRFOohTiguxPo-Zn1DkRTVi7aA@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfI3+UsJYMmS5j++9+8u3OIoRkNMQ2qF3B7yqk3it0Yrm2AQPDY2i+eFIC4/w6FjwcX3B10ky/LoX1INfWBWJHKSPiESGFJ3ry/8BxgrIysTLoLG77tyF F2jYdacl152SIujIBD8H34dsEnmP2pSUkZxHvnh+hSnjSkN05K7GpFMeGpbm/0plbp2/hR3X8pRIxA==
X-IsSubscribed: yes

On 2018-03-29 11:00, Erik Soderquist wrote:
> On Thu, Mar 29, 2018 at 10:24 AM, Ulli Horlacher wrote:
>>
>> I have installed cygwin openssh and the sshd is running.
>> When I log in, I get a "DOS shell":
>>
>> ~: uname -a
>> CYGWIN_NT-6.1 WIN-LS0QDOSDIBL 2.10.0(0.325/5/3) 2018-02-02 15:21 i686 Cygwin
>> ~: ssh localhost
>> admin@localhost's password:
>>
>> C:\users\admin>
> 
> I would actually like to know how you managed this, as I have a couple
> use cases where this is what I do need...

W10 Developer mode installs and enables minimal MS SSH server for Settings
"Device discovery" mDNS service "SSDP Discovery", also "SSH Server Broker", and
"SSH Server Proxy" services.
Enable/disable them to affect MS W10 SSH server.
In Developer mode you may also have optional Features you can add for OpenSSH
Server and OpenSSH Client.

W10 SSH can connect to WSL bash: web search for "W10 SSH WSL bash".

> This is what I get on all of my cygwin setups where I've installed
> sshd.  Do you have mintty installed?

Base Cygwin package always installed.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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

