delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/26/12:21:16

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:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=HbLLNJPfp5S2Wfjc
eQHLDuv/y6LGXjnk1FFMXj6lehHzjOVR8zUCq/V7+XE+AuRKyMf76JbN4RY1SxwH
9BnlIDiheC1JSteJBuSmFi9FzxcBG9EoZvbyJArgyGQ4aGnb0VqvYJFKRjiBJ7ja
3SHre0UFi839zCjFP0EzwO0XhNM=
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:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=piieggbrChS1+kTOwXM68+
58l8o=; b=s2JdXFoF8zDKMJRSyun8wniWTzBgDp1fDkOgw2uy4UvG0eb0L6pSjx
bNBEb5y+CHHxRUfPhwrmS/b6Jy+LItGxLYjWeQ35xIxndWA15QdOBUF/vDuw4pqA
tp5Z+v+gXur5sGEuBakd7+eAMgtLtJyap9tUTahGaORtQjpTP31MU=
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
X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE autolearn=no version=3.3.1
Message-id: <517AA95F.2050609@cygwin.com>
Date: Fri, 26 Apr 2013 12:20:47 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: can't connect to sshd on Vista
References: <CAHaX4OVLjeQH4h1iQjQS8mrXjbvrGbuGAF8qD28ae1sWpVDpyQ AT mail DOT gmail DOT com> <CAHaX4OVTKB1YL-UeZcs1mTkknzmTRL6PCjFxje-bGfGpJWopsQ AT mail DOT gmail DOT com>
In-reply-to: <CAHaX4OVTKB1YL-UeZcs1mTkknzmTRL6PCjFxje-bGfGpJWopsQ@mail.gmail.com>

On 4/26/2013 12:48 AM, Rick McCombs AD5DU wrote:
> After reading this
> http://cygwin.com/ml/cygwin/2007-12/msg00557.html
> I can ssh localhost, and it works,  but I can't connect with putty,
> and I just tried connecting from
> another machine and if I try logging in as rick it is refused if I
> connect to cyg_server AT rickvista it connects  and drops the connection
> after the greeting.
> By the way the XP machine that I'm also putting cygwin on has a space
> in the users
> home directory I changed the user id but changing the directory
> doesn't seem possible in XP home. Supposedly there is a way to copy
> the profile to a new user I may have to that.
>
> Rick McCombs AT ATHLON3000 ~
> $ ssh cyg_server AT rickvista
> cyg_server AT rickvista's password:

cyg_server is the user account that runs the sshd service.  You're
not supposed to connect using this account.  Use your account.

It's possible while attempting to get this working that you've
inadvertently gotten permissions set improperly in various
directories and files that sshd uses.  This is why we're usually
very critical of using external resources to install and configure
sshd.  I recommend going through the ssh-host-config and ssh-user-config
scripts to make sure that all the files and directories they configure do
exist and that the permissions are set properly.  Closed connections
are often caused by things like permission problems.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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