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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: 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: In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit 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