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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=FzohLxnRKES9KgwlD61uji3y1DBFU2Ke9DeRcJgErfI SaEPPgUuRGGQlXUDaIzPwH9f9+BGi20ZGiMN4joWnSPxsOJkd+ol4ZpUgJWcRFcn bdZG61jlEgF9Ch061Nl5SLqhUJO7vpwsQZ5ppa/KU/0AJgLjmlpUOHzrrGHL/ETc = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=o9mbtFWUkWg0ZaY7rB8q/rvgbg0=; b=HC3eAmJK/0SwhjO+S PNv5KdDNC1pqA5da2QjzpB2mWCJDBxXdTjlFzkwcuByQqNyBmCurDg9oc5BjXbLJ b8WGZ/HG3ZcrXviMgvsEHKBIbuUC5ahq1Cha641sygJqEUQUktxg+aNh81Qt092J 9kEU1U9mMehacWGrlWMaBJHUYU= 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=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=AS, schulman, H*r:192.168.3, Schulman X-HELO: Ishtar.sc.tlinx.org Message-ID: <58E6F4BA.3020903@tlinx.org> Date: Thu, 06 Apr 2017 19:08:58 -0700 From: L A Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: how to make sshd start a shell other than bash when I log in? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Andrew Schulman wrote: > But when I log into that same host by sshd, bash starts... > Have you tried changing your shell (chsh if it is on your system, otherwise edit /etc/passwd and change the shell for your username). andrews:x:1001:545:A.S.:/home/andrews:/bin/fish ^^^ You will need to make sure the shell is listed in the allowed shells file (/etc/shells). Not sure what would be best if you don't have a /etc/passwd... (I might add one, but someone else may know a better way). -- 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