delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/29/15:35:19

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: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 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=-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 AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <74766937.20180329222757@yandex.ru>
To: Ulli Horlacher <framstag AT rus DOT uni-stuttgart DOT de>, cygwin AT cygwin DOT com
Subject: Re: ssh login to cygwin bash?
In-Reply-To: <20180329142411.GZ12560@rus.uni-stuttgart.de>
References: <20180329142411 DOT GZ12560 AT rus DOT uni-stuttgart DOT de>
MIME-Version: 1.0
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 AT 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

- Raw text -


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