how to make sshd start a shell other than bash when I log in?

Thorsten Kampe
Fri Apr 14 09:38:00 GMT 2017

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


Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list