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:to:from:subject:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=uYG c7nKmjLUaUlbOKNLZM0NNuZyIiF4p0wmlhecCb6QQyh576ppF8ZpFjpmEUOPxKaj G3gYHuqZtnN5IO5DBeM0OkE8NlFgIFDKGn50NWv+Ry4nbA++V//JGYj5IwtI8mph NXrVN/bFjghRPD1+3NdAlOvsPCxQQ+IZxoxMV/eE= 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:to:from:subject:date:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=FbVIW+WB1 StBciV67R1J2Y3eqeo=; b=LZWB3IZxo38M2gkY5q1QM8/uEqhg8ZR0CyEGp7ktp kCapvlzoAk/pE4t2mpH1XHPoIfWd0V9Tt7PIVQMikZWHNd7sF8ctrH6TwVIXaa47 32VRSuA9Ja5WDNx2nLQvktiDC6Pk9kZXViuvo/AjK+NvZZvdqRSHqhHaiHmZtEGS 4s= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*Ad:D*bellsouth.net, H*r:Unknown X-HELO: blaine.gmane.org To: cygwin AT cygwin DOT com From: Charles Russell Subject: Installing sshd with option --type manual Date: Fri, 28 Apr 2017 10:48:42 -0500 Lines: 16 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 X-Mozilla-News-Host: news://news.gmane.org:119 X-IsSubscribed: yes Starting from a default installation of sshd that was working properly, I tried uninstalling sshd with cygrunsrv and reinstalling with --type manual. (cygrunsrv --install sshd --path /usr/sbin/sshd.exe --type manual) After rebooting I cannot start sshd with cygrunsrv. Instead, I get message "Error starting a service: Query service status: Win32 Error 1062" Is it practical to use "--type manual" with sshd, or are its security restrictions too tight for this kind of installation? My intent was to have sshd off by default, but available when I need it, with current status easily seen with ps. Is there an easy fixup for my broken sshd, or should I rerun ssh-host-config? -- 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