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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=DaJpVi5ix4x3VJCb7ixfb/UtRhPbzaORjmyzPlp0vevW6upwCibPk
	tCBHPU+Xhab/hAK5rOzyX3BdA+gOwRb0qAzSiV3qIP5BNdKTheHSr9l0Fl9ILd45
	kJA4CTasZUBq+ZhGtZ/iCzuB+c14R69whpRHLCxRHYRWtwiyIBYNOo=
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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=KwumWKseESwx+X3xOwU0devc9vs=; b=hE9+K17C8uDL/wjpUDwrEJYOGsAe
	9FyU5wBvMtjlmpaOuKBTOkPpliyaKVGyhVI5SgV0J+nhfB948hFwkUqsOmQjvIHE
	SS68sGfLMkGb0RFKXjfqbIeXSSU0LNZelYSDJRd/a+HKGvJHq1Oy6tDPLdpnzfCX
	q5YksO6lNqRzIEA=
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=BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*UA:3.0.4, H*u:3.0.4, Hx-languages-length:613, sshd
X-HELO: blaine.gmane.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject: Re: how to make sshd start a shell other than bash when I log in?
Date: Fri, 14 Apr 2017 10:27:04 +0200
Lines: 16
Message-ID: <ocq14k$smg$1@blaine.gmane.org>
References: <m2qdec1cc0bk75daeb1rjvvufpoh38irke@4ax.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/3.0.4
X-IsSubscribed: yes

* Andrew Schulman (Thu, 06 Apr 2017 21:22:38 -0400)
> 
> My regular shell is fish. To make local terminals run fish instead of bash when
> I start them, I set
> 
> SHELL=/usr/bin/fish
> 
> in my desktop environment. This works fine: I start MinTTY, and fish starts.
> 
> But when I log into that same host by sshd, bash starts, not fish (since sshd
> doesn't have access to my desktop environment variables). How can I configure
> either my ssh client or the ssh server to start fish instead of bash?

I use db_shell in /etc/nsswitch.conf.

Thorsten


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

