delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/29/16:33:51

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:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Zt6unrIOt6OcUPfV
7UWlg505teZPhCtBhzY2sXJ7zklv6tn+24fg8SX+jXS+UWEN9yJaT8DjBzdglufW
8Qas8CgZjo+epK51hpwuB/4yLqgpxlJbxn+ngaRwP0V4M4kFHTdsNHC+fwHQTw3V
q7tNSrQpdEmVaqT40q1Mul/VGfs=
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=ntOQT9YQC/tEbi5xPPSG1E
xTQNY=; b=sGAuUOhv5eJNZUe96x/rLgoqvdZH72tAjqBUrVjoKB67+m3mCT/LHi
cr4T7rtD0NeGeh9SQoPTC2IBThwOGLuFeHFlZYvcpC2tJNwQ3Hqox4ydlLtd1PLk
jcusn0JdiIwCfiMhE+lJYT34FHT9ujmx7c6nBhbkxI8ITr5KwnB0k=
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.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=mVINpUZbwB0pm_E8jKYA:9 a=QEXdDO2ut3YA:10
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: ssh login to cygwin bash?
To: cygwin AT cygwin DOT com
References: <20180329142411 DOT GZ12560 AT rus DOT uni-stuttgart DOT de> <CACoZoo3dtAvb1FpGfYB6FguJZRFOohTiguxPo-Zn1DkRTVi7aA AT mail DOT gmail DOT com> <20180329193529 DOT GB396 AT rus DOT uni-stuttgart DOT de>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <7eb4911d-6108-d845-6748-7cfd7fcffa7c@SystematicSw.ab.ca>
Date: Thu, 29 Mar 2018 14:33:36 -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: <20180329193529.GB396@rus.uni-stuttgart.de>
X-CMAE-Envelope: MS4wfCMX2B3W7dSvmN5sK+irq61ZRbvTJfD2h6pcwvS387HRjVFbAZc8ikylZEMGvhMexEiGGO+MXKY0/INv6Sehe4jVLOYmBG7izLF57xSV50Hl6HDQUF/Y FvL00YbjkpJi5KmynJaYrQKsKOya9YTB5bV5f/ZPk1w69jWOPcpHVEGrJJcqv+M1MytVJ2zy57YaeA==
X-IsSubscribed: yes

On 2018-03-29 13:35, Ulli Horlacher wrote:
> On Thu 2018-03-29 (13: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 AT localhost's password:
>>> C:\users\admin>
> I have just installed the openssh cygwin package (via setup). That's it.
>>> But I want bash as login shell. How can I configure cygwin sshd for that?

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 also have Optional Features you can add for OpenSSH
Server and OpenSSH Client.

To connect to Cygwin sshd, disable W10 SSH services as above, uninstall SSH
Optional Features, and in Settings disable Device discovery to stop mDNS.

Then log in under your user account admin and start Cygwin mintty/bash to set up
your Cygwin environment for that user, and in an elevated mintty/bash session,
run ssh-host-config script and answer the questions (normally take the defaults)
to set up sshd as a Windows service running under the cygrunsrv daemon wrapper.

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

- Raw text -


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