This is the mail archive of the
mailing list for the Cygwin project.
Re: how to make sshd start a shell other than bash when I log in?
- From: Brian Inglis <Brian dot Inglis at SystematicSw dot ab dot ca>
- To: cygwin at cygwin dot com
- Date: Fri, 14 Apr 2017 09:49:31 -0600
- Subject: Re: how to make sshd start a shell other than bash when I log in?
- Authentication-results: sourceware.org; auth=none
- References: <email@example.com> <firstname.lastname@example.org>
- Reply-to: Brian dot Inglis at SystematicSw dot ab dot ca
On 2017-04-14 02:27, Thorsten Kampe wrote:
> * 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
>> 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.
How do you use db_shell, what do you set it to in /etc/nsswitch.conf,
do you set anything else, and how does this change the shell under ssh?
Please provide details and why you think this will work for the OP's issue.
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple