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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=A0Wz4CJrtOodAtrm
	x3RrK1QhvqXLTNWEvawtZhUULx/K3+KIa3dY2ywvX5xsvNsrJdIpYk4kUTPlTh/I
	/07JEHo+s+jFX44IVLhPfiKwZYhGosfQGqKicu88KdLmybH5QIjjDfe6xdtLY8Zo
	6uqdNvOlkOqHUYsWRPa2qbAxz7k=
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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=AlCSurDDT27KQVORSjLqc3
	K92Bs=; b=Qz0U4Py+SKcnUNk+9WnHvK351xK6iELz8Lp2oeNxHEiwt1w2OSpKX2
	RemFy+FNWIMrYZfBCT1e4uXn4bv91pBPu0QP3DaUrO4Ki3Qie5FR6IvJjevV47uF
	eTdk/b/AQYtHI6hH/r3ijLVypLKwO6tmllBSQFRyKO8bBFeGRePzI=
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=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=yandexru, Repin, Andrey, UD:yandex.ru
X-HELO: forward102p.mail.yandex.net
Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Thu, 29 Mar 2018 22:27:57 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <74766937.20180329222757@yandex.ru>
To: Ulli Horlacher <framstag@rus.uni-stuttgart.de>, cygwin@cygwin.com
Subject: Re: ssh login to cygwin bash?
In-Reply-To: <20180329142411.GZ12560@rus.uni-stuttgart.de>
References: <20180329142411.GZ12560@rus.uni-stuttgart.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Ulli Horlacher!

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


> But I want bash as login shell. How can I configure cygwin sshd for that?

ssh -vv
I'm not sure you actually connect to Cygwin SSHD.
Even if you do, check the user's assigned shell.

getent passwd $USER


-- 
With best regards,
Andrey Repin
Thursday, March 29, 2018 22:27:07

Sorry for my terrible english...


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

