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: 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: <email@example.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).
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple