delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/23/14:32:24

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=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 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=-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 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/20130801 Thunderbird/17.0.8
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: setting up sshd on windows 7
References: <A1F1FBC3-7E6F-472E-89FD-6B876E9B2579 AT gmail DOT com> <CAOu_qeGqpKVTs+o2E3DMnyMTUd_FpbF-3_R6145L+CDoCCMVXw AT mail DOT gmail DOT com>
In-reply-to: <CAOu_qeGqpKVTs+o2E3DMnyMTUd_FpbF-3_R6145L+CDoCCMVXw@mail.gmail.com>

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

- Raw text -


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