public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: Ulli Horlacher <framstag@rus.uni-stuttgart.de>, cygwin@cygwin.com
Subject: Re: ssh login to cygwin bash?
Date: Thu, 29 Mar 2018 19:35:00 -0000	[thread overview]
Message-ID: <74766937.20180329222757@yandex.ru> (raw)
In-Reply-To: <20180329142411.GZ12560@rus.uni-stuttgart.de>

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

      parent reply	other threads:[~2018-03-29 19:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-29 15:02 Ulli Horlacher
2018-03-29 18:02 ` Erik Soderquist
2018-03-29 20:17   ` Ulli Horlacher
2018-03-29 20:33     ` Marco Atzeri
2018-04-26 14:42       ` Ulli Horlacher
2018-03-29 21:19     ` Brian Inglis
2018-03-29 20:21   ` Brian Inglis
2018-03-29 21:33     ` Erik Soderquist
2018-03-29 19:35 ` Andrey Repin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=74766937.20180329222757@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    --cc=framstag@rus.uni-stuttgart.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).