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:subject:references:to:reply-to:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=NXkMVN5W85BZ33KP
	0ExTUSia39YyuBeSj1b+v4RJWBGQYoiOoxa+2hlRdxmskK1aSKlC8NdIgmqsE4gL
	j26SORvYd8ReTDqufzNWbJZp0o2YYNG0rwsJnoYNt36bdrBx6HGSolBC3FR/iMQh
	4JI1CbwpVv3AtnBA1hHy1DwdrXM=
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:subject:references:to:reply-to:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=3rjmVJf1BLqztZANk1gY64
	0gFL0=; b=gI4ksHC8QRmkaeU50G1hRqSBHM7PqGRAlkDDI5kYwmPnI5fitmAqRR
	pjnVsgEi9Io3PnOd3sZs4y/1hIVpMAg15OZZ/49EW1rOVyam8G7Lgwj3X9yPCYzR
	LqzgCmaDddCHVKQY742KzqjxZAXP3Z5IQttNE/QPU48GQH/g2EX3Q=
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.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=authorized_keys, H*F:D*ab.ca, H*f:sk:58E6F4B, figuring
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.2 cv=XbT59Mx5 c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=w5aJ8kaLLAry8Qfnm_kA:9 a=QEXdDO2ut3YA:10
Subject: Re: how to make sshd start a shell other than bash when I log in?
References: <m2qdec1cc0bk75daeb1rjvvufpoh38irke@4ax.com> <58E6F4BA.3020903@tlinx.org> <af0975a6-0fc6-1d8d-b504-0eb230a8f6a1@SystematicSw.ab.ca> <n3siec9kj428039jba9u9r5ih64r1kgh60@4ax.com>
To: cygwin@cygwin.com
Reply-To: Brian.Inglis@SystematicSw.ab.ca
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Message-ID: <c9481e93-548a-0f32-f6a5-cdb1554a10a2@SystematicSw.ab.ca>
Date: Sat, 8 Apr 2017 21:53:55 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <n3siec9kj428039jba9u9r5ih64r1kgh60@4ax.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfJoKfeugkp5s0EzfDyPCN3NU0Ca3wbwmBJx41kcMXlwviPxmlF0oZd4oIfpv0pmtAMqZ+psuAlrxjFGoxUcOUFk1WtEC8pOvCYakRhaoKbp7u5AmShmD 1LZL0LynaIcvbzKhBc5NVVsu8Dz4pXb5Uz1NQ9l2M5eAEb/xXDK+2NAUAeQRnm3SqZ1BugACyfZkIQ==
X-IsSubscribed: yes

On 2017-04-08 17:22, Andrew Schulman wrote:
> It turns out that setting SHELL in ~/.ssh/environment doesn't work,
> nor does setting it in the key command. But setting
> command="/usr/bin/fish --login" ssh-rsa ...
> in authorized_keys does work.

Thanks for figuring this out -- it's a keeper!

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

