X-Recipient: archive-cygwin@delorie.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=T+xx4E7BpMA+gCCF
	QH73qy6nWY4bxc+UZjc5ZpWSwzDsaEOkJm2ZfyKCne2Q1Xr3gtcAodbTSdgYvPup
	8yTMym0kraFsJ51gb8B9ZCD3chg/zyU8SY60HBjmREEvjFcE3AGV7Md88GrzFTpz
	ciKYV4qorhNWudhEnQItWmiz08A=
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=bFvsCYIrEK9YsRMoyCFE5F
	t8UVo=; b=rquHE5IfWyG3aHx4BY4oce46waFxBsrIYiu7+2BakZDIdtFTqWHWI4
	CxryvSQXkPbqqjJmwGvEABNCEU/Ty8l/mwDXhI7nJr7h9jfhMlI5UR+wdR/giboQ
	d3FTspmKvJ6wOqMAJ5icUU7UdtYl3q8+sdzWTbW3Rz7TwbS5cz5Ww=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.2
Message-id: <5217AA9B.2060503@cygwin.com>
Date: Fri, 23 Aug 2013 14:31:55 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: setting up sshd on windows 7
References: <A1F1FBC3-7E6F-472E-89FD-6B876E9B2579@gmail.com> <CAOu_qeGqpKVTs+o2E3DMnyMTUd_FpbF-3_R6145L+CDoCCMVXw@mail.gmail.com>
In-reply-to: <CAOu_qeGqpKVTs+o2E3DMnyMTUd_FpbF-3_R6145L+CDoCCMVXw@mail.gmail.com>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit

On 8/23/2013 11:42 AM, Anatoly Yakovenko wrote:
> So i ran sshd by hand, which gave me an obnoxious error about
> /var/empty not being owned by root.  turns out it just needs to be
> owned by the user running sshd.
>
> after i was able to run it by hand with -d, i saw an error that
> /bin/bash is not executable for my user.  I was able to fix this by
> giving Everyone rwx access on my cygwin installation folder.

Because 'sshd' is finicky about permissions, doing this may well
have removed your ability to run 'sshd' as a service under the
default service user 'cyg_server'.  With that would also come the
loss of the ability to login with public key authentication.  If
any of this is important to you, you need to restore the previous
state.

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

