delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/19/09:40:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <ddc185be0901180603x2b6074b8yd30d0c25d4e23146@mail.gmail.com>
References: <7fac565a0901120447n4c9b67a1sa07dfd0ef113b9e7 AT mail DOT gmail DOT com> <7fac565a0901120450p27bbf05t7a4b9d5173333a95 AT mail DOT gmail DOT com> <496B70B3 DOT 2030204 AT cygwin DOT com> <7fac565a0901130749n5467e910r969dcd6d5c8f95d6 AT mail DOT gmail DOT com> <496D09A5 DOT 9010702 AT cygwin DOT com> <7fac565a0901140333m72bc6354h9a6d9e5cda7e27f6 AT mail DOT gmail DOT com> <496E2F16 DOT 5010605 AT cygwin DOT com> <7fac565a0901180512x2d309417x6e9c3d69b8881a89 AT mail DOT gmail DOT com> <ddc185be0901180603x2b6074b8yd30d0c25d4e23146 AT mail DOT gmail DOT com>
Date: Mon, 19 Jan 2009 06:40:33 -0800
Message-ID: <7fac565a0901190640s393fee5eh82476363ee6114b4@mail.gmail.com>
Subject: Re: Help me please install OpenSSH Server on Windows Vista
From: Alexey Eremenko <al4321 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Sun, Jan 18, 2009 at 6:03 AM, Dmitry Semyonov <linulin AT gmail DOT com> wrote:
> On Sun, Jan 18, 2009 at 16:12, Alexey Eremenko wrote:
>> $ cygrunsrv -S sshd
>> and I hope SSH service started but have no idea if it really started...
>
> cygrunsrv -Q sshd
>
>
Thanks Dmitry...

user AT user-PC ~
$ cygrunsrv -Q sshd
Service             : sshd
Display name        : CYGWIN sshd
Current State       : Running
Controls Accepted   : Stop
Command             : /usr/sbin/sshd -D

>> C:\cygwin\bin>ssh localhost
>> ssh_exchange_identification: Connection closed by remote host
>>
>> It still does not work. What else info I can provide?
>
> man ssh:
>
>  -v      Verbose mode.  Causes ssh to print debugging messages about
> its progress.  This is helpful in debugging connection,
> authentication, and configuration problems.  Multiple -v options
> increase the verbosity.  The maximum is 3.
>
C:\cygwin\bin>ssh -v localhost
OpenSSH_5.1p1, OpenSSL 0.9.8h 28 May 2008
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: identity file /home/user/.ssh/identity type -1
debug1: identity file /home/user/.ssh/id_rsa type -1
debug1: identity file /home/user/.ssh/id_dsa type -1
ssh_exchange_identification: Connection closed by remote host

What does it tell ?
SSH Server is running - but it does not offer login or user name to enter. Why?

-- 
-Alexey Eromenko "Technologov"

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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