From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by sourceware.org (Postfix) with ESMTPS id 2B9163857C4A for ; Sun, 16 Aug 2020 09:36:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2B9163857C4A Received: by mail-ed1-x52c.google.com with SMTP id t15so9955975edq.13 for ; Sun, 16 Aug 2020 02:36:14 -0700 (PDT) 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) Received: from [192.168.0.5] ([151.33.114.34]) by smtp.gmail.com with ESMTPSA id ss20sm11717307ejb.118.2020.08.16.02.36.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); 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@cygwin.com References: <6c46c572-6678-45ea-91db-54d02e0c3bcd@default> <402804355.20200811013821@yandex.ru> <1dbc09c8-07ad-4f42-8c7e-0aff2fbe68cc@default> <4910065414.20200812022520@yandex.ru> <20200812155859.GA9165@iguana.crashland.org> From: Marco Atzeri 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-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 7bit 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@cygwin.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: , X-List-Received-Date: Sun, 16 Aug 2020 09:36:15 -0000 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