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: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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.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: <58E6F4BA DOT 3020903 AT tlinx DOT org> To: cygwin AT cygwin DOT com Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca From: Brian Inglis Message-ID: 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: 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