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=GfAL+n/E2NXscjQd PsjEI90+Y6U2K8k5SjEShsfnf9KdHs8tgiLUBECX4sm4zhBaCAlvxR6ACbYrEnw5 vhMBNzZGuI51aTWqL6/7kld7nwgRkoofE9Xh7P3wXZ7L9MZt9H/wOCYg8VQhNYfm kPAM6T26FNJd+zMtZWvNWUUfMFs= 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=h753DEwHegcLwEJZhF269q tbSxY=; b=JhDBZWwyPT5urLrsZxniR4aqTaw1vAQjD0Kb2LhnNxs5PDA654gF0B iZvk0mmSnuEM7uF6MKgH7VusS8VPUomBJJFsKwMmrLqhS1vocp/G9G34tqe3MpdB NZVOkVBq2UEK/GMgHkRcQKI8BYP6wvGUPjmlo3t14UwX+JGNf8KAk= 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=1.8 required=5.0 tests=AWL,BAYES_50,BOTNET,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,TW_RW autolearn=no version=3.3.1 Message-id: <51715A7E.7050403@cygwin.com> Date: Fri, 19 Apr 2013 10:53:50 -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/20130307 Thunderbird/17.0.4 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: sshd service will not start on Windows 7 References: <1359486853591-95750 DOT post AT n5 DOT nabble DOT com> <51082B30 DOT 3020303 AT prager DOT ws> <51082C6E DOT 5020409 AT gmail DOT com> <1359549388 DOT 9218 DOT YahooMailNeo AT web162704 DOT mail DOT bf1 DOT yahoo DOT com> <5109E15C DOT 20204 AT cygwin DOT com> <1366332088377-97938 DOT post AT n5 DOT nabble DOT com> In-reply-to: <1366332088377-97938.post@n5.nabble.com> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit On 4/18/2013 8:41 PM, b45710n wrote: > Jamie Stallwood wrote >> I found, by enabling shell logon for cyg_server and then running sshd, >> that >> /etc/ssh*_key permissions were too lax. >> >> use the command: chmod g-rwx /etc/ssh*_key to fix these permissions. > > What does that command do? It removes the group read, write, and execute permissions for the SSH keys in /etc. See 'man chmod' for more. There's no need to try to undo this change though. It's appropriate that these files not allow group access to these files. > Possibly relevant: > > The message I get is: > > >> $ net start sshd >> The CYGWIN sshd service is starting. >> The CYGWIN sshd service could not be started. >> >> The service did not report an error. >> >> More help is available by typing NET HELPMSG 3534. > > >> $ NET HELPMSG 3534 >> >> The service did not report an error. > > I followed the instructions at > http://www.scottmurphy.info/open-ssh-server-sshd-cygwin-windows > to set > up sshd on windows via cygin. Generally, this list frowns on the practice of consulting alternate resources on the web for configuration help and then coming back to the Cygwin site/list when problems arise as a result. Practically, we can't control all the sites out there that may have some configuration information for SSH and other Cygwin packages. So we ask that you follow-up with the original providers if the procedures, information, and advice that they provide don't work for you. OK, with formalities out of the way, let's talk a bit more about your problem. First, a quick perusal of the instructions your followed doesn't raise any obvious red flags, other than the general notation that the instructions are dated ("ntsec" and "tty" are obsolete settings for the CYGWIN environment variable and are now ignored). So we need to see more information from you about your current configuration and what else you've tried to address this issue. To that end, please read and follow the problem reporting guidelines found at the link below for any follow-up you may have to this list. > Problem reports: http://cygwin.com/problems.html -- 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