X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A8C3E385703A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1597570576; bh=WFfo5p7xRH/wvJhRNVBRFP/zMCl0aoL5GOMigtmSWJQ=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=chLqqOQsovr12DkDqpInJkKfLiJqArYx4vvMVhYhoabbHGkgqQQ4Mv4DLqrtFpT/F GSC89I/HitCMGbwlxsp+m990pf+hgvYOsxapqF89hL4OtCXzaSigISk/zgBq+DU2YB cQhDtVlDoElUSUzb9eoEBKDSnU5BhjT3AlntVjlg= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2B9163857C4A X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XAZNsQC7BtxvNwrwLoJ1c9R6e//QprDCwBqdLqSJ6vE=; b=ZdmNBWrRgtDMAA4T/RPwUroSu4kULjjWgfHTrzUkJm85pmsKxe+Bom4CfoToZ2yCTx wz+1E8++JGbXV+X7mv9YSr1KSqVhVXSiRuHAh3CwZfDwpdoX5s+kilj/ekFcdt+FY7oB +ogN8B2zoBKQFvRT1/jc+DoSRZDqZZGQxYMI41NMtIogX3PaKSWJ8IiN8peDtqgzfdMl Eyip92pjYh5PCgS3sbq7f9w35IhFV50S6Lz3ZaLqQTJn2MC4hPtKIpOjSgCV1Lw93rP0 1kzFWPpmdLJ4DYXdgeyq2Wq/21YVsfIY3XeI8fUYgZ9uwqUJH1kqGU4yq9ptKoguC8az nRbw== X-Gm-Message-State: AOAM531Gs6Dpoou38ct5eRgaj6VEgW9d7hBiAg2BniViXvfnugiRpOSl GwbeVkraReA/pSVa/3GKjAfCICrd5Ttq9Q== X-Google-Smtp-Source: ABdhPJxbkWU+ZYc3LBoRbGT4WgGrdn5JEV/f9cD8BEhX32TtcI4iFXM+VX5JKpyITJh/Zz4HUEh0HQ== X-Received: by 2002:aa7:c50b:: with SMTP id o11mr9819187edq.59.1597570572911; Sun, 16 Aug 2020 02:36:12 -0700 (PDT) Subject: Re: Need information on creating service user to connect from the Agent server to Windows hosts for installing agents on remote To: cygwin AT cygwin DOT com References: <6c46c572-6678-45ea-91db-54d02e0c3bcd AT default> <402804355 DOT 20200811013821 AT yandex DOT ru> <1dbc09c8-07ad-4f42-8c7e-0aff2fbe68cc AT default> <4910065414 DOT 20200812022520 AT yandex DOT ru> <20200812155859 DOT GA9165 AT iguana DOT crashland DOT org> Message-ID: Date: Sun, 16 Aug 2020 11:36:10 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Language: it X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_ASCII_DIVIDERS, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On 16.08.2020 10:17, Subramanya Narayanaswamy via Cygwin wrote: > Hi Team, > > I'm facing below issue while trying to start CYGSSHD server. I'm running the below command as an Administrator but not sure why cygsshd is not starting. Any help? > -------------------------------------------------------------- > $ net start cygsshd > The CYGWIN cygsshd service is starting. > The CYGWIN cygsshd service could not be started. > > The service did not report an error. > > More help is available by typing NET HELPMSG 3534. > > Subramanya > I saw the same problem. The /var/log/sshd.log gave me the hint: ----------------------------------------------- Permissions 0640 for '/etc/ssh_host_rsa_key' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. .. Permissions 0640 for '/etc/ssh_host_ecdsa_key' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. .. Permissions 0640 for '/etc/ssh_host_ed25519_key' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. sshd: no hostkeys available -- exiting. ------------------------------------------------ from the Admin account $ cd /etc $ chmod 600 ssh* solved the problem $ cygrunsrv -S cygsshd $ cygrunsrv -Q cygsshd Service : cygsshd Display name : CYGWIN cygsshd Current State : Running Controls Accepted : Stop Command : /usr/sbin/sshd -D -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple