This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: how to make sshd start a shell other than bash when I log in?
- From: L A Walsh <cygwin at tlinx dot org>
- To: cygwin at cygwin dot com
- Date: Thu, 06 Apr 2017 19:08:58 -0700
- Subject: Re: how to make sshd start a shell other than bash when I log in?
- Authentication-results: sourceware.org; auth=none
- References: <m2qdec1cc0bk75daeb1rjvvufpoh38irke@4ax.com>
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