public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Erik Soderquist <ErikSoderquist@gmail.com>
To: cygwin <cygwin@cygwin.com>
Subject: Re: ssh login to cygwin bash?
Date: Thu, 29 Mar 2018 18:02:00 -0000	[thread overview]
Message-ID: <CACoZoo3dtAvb1FpGfYB6FguJZRFOohTiguxPo-Zn1DkRTVi7aA@mail.gmail.com> (raw)
In-Reply-To: <20180329142411.GZ12560@rus.uni-stuttgart.de>

On Thu, Mar 29, 2018 at 10:24 AM, Ulli Horlacher wrote:
>
> 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>

I would actually like to know how you managed this, as I have a couple
use cases where this is what I do need...


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

This is what I get on all of my cygwin setups where I've installed
sshd.  Do you have mintty installed?


-- Erik

--
"I do not think any of us are truly sane, Caleb. Not even you. Courage
is not sanity. Being willing to die for someone else is not sanity."
... "Love is not sane, nor is faith." ... "If sanity lacks those
things, Caleb, I want no part of it."

-- Alexandria Terri in "Weaving the Wyvern" by Alexis Desiree Thorne

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

  reply	other threads:[~2018-03-29 17:01 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 [this message]
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

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=CACoZoo3dtAvb1FpGfYB6FguJZRFOohTiguxPo-Zn1DkRTVi7aA@mail.gmail.com \
    --to=eriksoderquist@gmail.com \
    --cc=cygwin@cygwin.com \
    /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).