delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/29/16:21:53

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=QxsQ5Kvkx6LxccLb
Jt02yUxdozswPsGIQjr3yvtYT8tuZs4QVZauC+uxPPKZY5dWdrU+pKnlC/A6coPn
tzLj+xZRvWfMO9dgf+kbiI0FsD3OCwIRv5QQWrAuoF//PT/ijqNYWSNfit032dpk
ckjrSrR72DH2GudiGBB+BbzYsyI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=GCVf96j/3LQM4ViOFz/cgP
Mrmdk=; b=yLiArX2vbWgY0W0Qz61bpHiaFGu4w0uJVDP26OWhwtNk2tEd8fgZZC
SYbk0gu7ewZG2QkqhUDTuL1DMGrj1xHBtwWOvYVcb9raMK1R7JFSnBCVi7al8auh
6EHZRJpclj2uwTVEjU3VdeFd228gRrsQ4EUHaiukccaF/ZQkmFjpo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-spam-relays-external:209.85.128.196, H*RU:209.85.128.196, H*u:6.1, H*UA:6.1
X-HELO: mail-wr0-f196.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=AVlnZV01ql8E+mup8S2FxPOXJrV3C+z1jBNSZ7Rzm30=; b=X5zBpu6orcUY3W1rsEAff0Vh1CgkWM88ODKQy4AWgCkc3Jac1d2prdYct/6al2sS26 GNa0Z+RR1O+bmn1E+aKpvOvXcUYCLsNtc8uQHjAtZ+CjPpfUIlJklGHq/g580AyuemCe ou2cek6ATTsk7pd64wp25k/4F5m4iuj9sXrbcrvLnxtFIOm49fbnitspVrEuG13oeMaz FsMNnsBm9JZadMJn5d43RccHu/F2L64JHlJ1zZ9mta68bkdEYbivMaqCsHDZOTtEYaPF st7RxQLRskr/+qtZRbDLF+Dl4AFA+CKg1acdUuDCInSt4VE6jgK4mRUVJsWfcwkLrP+v SLyQ==
X-Gm-Message-State: AElRT7GkKHFLgrdRvxE2ZMiESAABX8iMShDNKy7kksh6hoqrkygGZH4d kMSCNVRr2IuAoiyRNqtlcjvYwpAv
X-Google-Smtp-Source: AIpwx4/mXNzv+/VltLKSoYuL7E389SC6RCessyZ0a9pGbYfZnsrv3LdiXQSkB9sTU/un00pttOUDmA==
X-Received: by 10.223.190.142 with SMTP id i14mr7131239wrh.168.1522354890453; Thu, 29 Mar 2018 13:21:30 -0700 (PDT)
Subject: Re: ssh login to cygwin bash?
To: cygwin AT cygwin DOT com
References: <20180329142411 DOT GZ12560 AT rus DOT uni-stuttgart DOT de> <CACoZoo3dtAvb1FpGfYB6FguJZRFOohTiguxPo-Zn1DkRTVi7aA AT mail DOT gmail DOT com> <20180329193529 DOT GB396 AT rus DOT uni-stuttgart DOT de>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <0f72caba-7015-dcf7-069a-c3969eaa1a78@gmail.com>
Date: Thu, 29 Mar 2018 22:21:28 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <20180329193529.GB396@rus.uni-stuttgart.de>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019