Web lists-archives.com

Re: ssh login to cygwin bash?

Greetings, Ulli Horlacher!

> I have installed cygwin openssh and the sshd is running.
> When I log in, I get a "DOS shell":

> ~: uname -a
> CYGWIN_NT-6.1 WIN-LS0QDOSDIBL 2.10.0(0.325/5/3) 2018-02-02 15:21 i686 Cygwin
> ~: ssh localhost
> admin@localhost's password:

> C:\users\admin>

> But I want bash as login shell. How can I configure cygwin sshd for that?

ssh -vv
I'm not sure you actually connect to Cygwin SSHD.
Even if you do, check the user's assigned shell.

getent passwd $USER

With best regards,
Andrey Repin
Thursday, March 29, 2018 22:27:07

Sorry for my terrible english...

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