X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4C7D6384243F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1597854960; bh=o6+l+5gJrpfUHSiERn6KFBTLVnj2Nz/EZ+opLjdAJiY=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=koRLDxE0rizhwZ+YBjJ9vojFTl0+Zf3plcs9Kf34oPnmGgbul5WkzbartworFh9kb x1cRilu612v5sA5q4JAmZsfoJiKXis1vK82ZAYbm2NkPVhyOEqRNQ7HLp25e5N2+7F 8ikHUkoQQXDpoFRXcZIpYQ/iKOzuRaJRiwaF8OxI= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 022B13857C42 X-Mailru-Internal-From: subramanya DOT narayanswamy AT oracle DOT com To: =?UTF-8?B?U3RlcGhlbiBDYXJyaWVy?= Subject: =?UTF-8?B?UmVbMl06IE5lZWQgaW5mb3JtYXRpb24gb24gY3JlYXRpbmcgc2VydmljZSB1?= =?UTF-8?B?c2VyIHRvIGNvbm5lY3QgZnJvbSB0aGUgQWdlbnQgc2VydmVyIHRvIFdpbmRv?= =?UTF-8?B?d3MgaG9zdHMgZm9yIGluc3RhbGxpbmcgYWdlbnRzIG9uIHJlbW90ZQ==?= MIME-Version: 1.0 X-Mailer: My.com Mailer 1.0 Date: Wed, 19 Aug 2020 19:35:49 +0300 X-Letter-Fingerprint: 9LAx4w9ko7k3yYGZHVBI6NNm926Qsz6c X-Priority: 3 (Normal) X-Mailru-Compose-Stats: =?UTF-8?B?eyJVc2VyU2Vzc2lvblRpbWUiOjE5ODAxNTMzLCJIb3N0IjoiZS1hai5teS5j?= =?UTF-8?B?b20ifQ==?= Message-ID: <1597854949.449657402@f39.my.com> In-Reply-To: <20200819163242.GA7219@iguana.crashland.org> References: <6c46c572-6678-45ea-91db-54d02e0c3bcd AT default> <20200819163242 DOT GA7219 AT iguana DOT crashland DOT org> X-7564579A: EEAE043A70213CC8 X-77F55803: 68A6F98766B02875A0F21CC061F2095323D2FBEB2644075C2E4D5D53327FA4819A275B69114B004D4EBD506AC7C2731CA711EB86A4D45A11 X-C8649E89: 6CB89399396386B4B91368A339A6BEFD97E93B75D850EA44B7A1F524335182435D34B16764A53FA19F595CEF8576C34B X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5+wYjsrrSY/u8Y3PrTqANeitKFiSd6Yd7yPpbiiZ/d5BsxIjK0jGQgCHUM3Ry2Lt2G3MDkMauH3h0dBdQGj+BB/iPzQYh7XS329fgu+/vnDhEztJuZHYbzkpMYFqiYZRIA== X-Mailru-Sender: 18E9801977ECFBC255B172A4014AE13A7643E7B3EC3CC06C9A275B69114B004DB97BB6631D9F7DCF48C4D73ADDE8FB2A64B4353600F0E4333CD4647559773057942E5C935CAB911F58F7F8B97CC9C3700D4ABDE8C577C2ED X-Mras: Ok X-Spam: undefined X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9718 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxlogscore=999 spamscore=0 suspectscore=0 mlxscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008190138 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9718 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 impostorscore=0 priorityscore=1501 adultscore=0 mlxscore=0 mlxlogscore=999 lowpriorityscore=0 bulkscore=0 phishscore=0 malwarescore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008190138 X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FROM_EXCESS_BASE64, HTML_MESSAGE, KAM_SHORT, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Subramanya Narayanswamy via Cygwin Reply-To: =?UTF-8?B?U3VicmFtYW55YSBOYXJheWFuc3dhbXk=?= Cc: cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Hi Stephan, Thanks for the information. Issue is fixed and it was IBM ssh service which was blocking way for cygwin to bind address 0.0.0.0/22 on my windows machine. I disabled that service and cygwin worked smoothly. -- Thanks, Subbu Wednesday, 19 August 2020, 10:03PM +05:30 from Stephen Carrier carrier AT berkeley DOT edu : >On Sun, Aug 16, 2020 at 11:36:10AM +0200, Marco Atzeri via Cygwin wrote: > 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. > ------------------------------------------------ >/var/log/sshd.config may provide helpful clues even if the issue is >different from loose permissions on the private keys. Let us know what >you find there if you are still having trouble. > > from the Admin account > > $ cd /etc > $ chmod 600 ssh* > > solved the problem > >It may have but ... There is no need to restrict permissions on the >public keys and restricting permissions on /etc/ssh_config may interfere >with ssh client use by non-Administrator users. Moreover, I don't think >/etc/sshd_config needs to be restricted though that could be a judgement >call. > >Perhaps > >$ chmod 600 ssh_host_*_key > >is enough to fix the private key permissions, if in fact that is the problem. > > $ cygrunsrv -Q cygsshd >.... > >"cygrunsrv -V -Q cygsshd" will reveal even more information. > >--Stephen -- 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