public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: ssh login to cygwin bash?
Date: Thu, 29 Mar 2018 20:33:00 -0000	[thread overview]
Message-ID: <0f72caba-7015-dcf7-069a-c3969eaa1a78@gmail.com> (raw)
In-Reply-To: <20180329193529.GB396@rus.uni-stuttgart.de>

On 29/03/2018 21:35, Ulli Horlacher wrote:
> On Thu 2018-03-29 (13:00), Erik Soderquist wrote:
>> 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...
> 
> I have just installed the openssh cygwin package (via setup). That's it.
> 

to have cygwin openssh server active you need
after the installation of the openssh package:

- run /usr/bin/ssh-host-config to configure sshd the service
- start the service with "cygrunsrv -S sshd"

as it seems you have not done so, likely you have another
ssh server than cygwin one running on your pc.

Regards
Marco






--
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 20:21 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 [this message]
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=0f72caba-7015-dcf7-069a-c3969eaa1a78@gmail.com \
    --to=marco.atzeri@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).