From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2543 invoked by alias); 19 Jan 2009 14:40:43 -0000 Received: (qmail 2534 invoked by uid 22791); 19 Jan 2009 14:40:42 -0000 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 Received: from yx-out-1718.google.com (HELO yx-out-1718.google.com) (74.125.44.157) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Jan 2009 14:40:36 +0000 Received: by yx-out-1718.google.com with SMTP id 4so1107681yxp.38 for ; Mon, 19 Jan 2009 06:40:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.90.103.13 with SMTP id a13mr2406478agc.68.1232376033975; Mon, 19 Jan 2009 06:40:33 -0800 (PST) In-Reply-To: References: <7fac565a0901120447n4c9b67a1sa07dfd0ef113b9e7@mail.gmail.com> <7fac565a0901120450p27bbf05t7a4b9d5173333a95@mail.gmail.com> <496B70B3.2030204@cygwin.com> <7fac565a0901130749n5467e910r969dcd6d5c8f95d6@mail.gmail.com> <496D09A5.9010702@cygwin.com> <7fac565a0901140333m72bc6354h9a6d9e5cda7e27f6@mail.gmail.com> <496E2F16.5010605@cygwin.com> <7fac565a0901180512x2d309417x6e9c3d69b8881a89@mail.gmail.com> Date: Mon, 19 Jan 2009 15:29:00 -0000 Message-ID: <7fac565a0901190640s393fee5eh82476363ee6114b4@mail.gmail.com> Subject: Re: Help me please install OpenSSH Server on Windows Vista From: Alexey Eremenko To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2009-01/txt/msg00575.txt.bz2 On Sun, Jan 18, 2009 at 6:03 AM, Dmitry Semyonov 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@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/