From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:106]) by sourceware.org (Postfix) with ESMTPS id 005F73857C47 for ; Mon, 10 Aug 2020 22:50:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 005F73857C47 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=anrdaemon@yandex.ru Received: from mxback19g.mail.yandex.net (mxback19g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:319]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 3C01B18C007C; Tue, 11 Aug 2020 01:50:01 +0300 (MSK) Received: from sas8-b61c542d7279.qloud-c.yandex.net (sas8-b61c542d7279.qloud-c.yandex.net [2a02:6b8:c1b:2912:0:640:b61c:542d]) by mxback19g.mail.yandex.net (mxback/Yandex) with ESMTP id JRj421oiGI-o1EqO5Zw; Tue, 11 Aug 2020 01:50:01 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1597099801; bh=yTdV1i8YxCO6pqt+x+V5dUzcLcTLbtwgzmEu1AUq3m8=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=MRztpFqhKeTDkqO9lH0g/KedWIdEzCLOlpOkyoHX0ePF0MEm4vZGqaTfB3auRpEce NK/BIeFD+bUGh4zrqqoM0qaLH8xe59B01zSqCwt8IrwS679GO7wj/N8iq0E2ht9cTA AOIi63X/lqF+sSYz4SKk22/vVYB6LjOLAnYdYcKw= Authentication-Results: mxback19g.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by sas8-b61c542d7279.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id Cda0HvF0JO-o0mmrJN2; Tue, 11 Aug 2020 01:50:00 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Mon, 10 Aug 2020 22:38:21 -0000 Date: Tue, 11 Aug 2020 01:38:21 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home Reply-To: cygwin@cygwin.com X-Priority: 3 (Normal) Message-ID: <402804355.20200811013821@yandex.ru> To: Subramanya Narayanaswamy , cygwin@cygwin.com Subject: Re: Need information on creating service user to connect from the Agent server to Windows hosts for installing agents on remote In-Reply-To: <6c46c572-6678-45ea-91db-54d02e0c3bcd@default> References: <6c46c572-6678-45ea-91db-54d02e0c3bcd@default> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, 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: Mon, 10 Aug 2020 22:50:05 -0000 Greetings, Subramanya Narayanaswamy! > I'm Trying to setup Cygwin installation on windows server 2012 and 2016. > I'm installing latest Cygwin version with packages openssh,openssl,zip,unzip. > When I run Cygwin.bat file and try to configure SSH host service to connect > from Agent server on this windows host, I don't get a prompt to create > CYGWIN user at all. By default it is taking the SYSTEM default user for authentication. That's how it's done. > But I want create a new Cygwin(let's say agentuser user) using the command > ssh-host-config by running the Cygwin.bat file. Why? > Could you please help on how to setup separate user with right SSH > permission please? It would be great help. What you want to use that user for? If you want to use it for maintenance, just create a user and `passwd -R` it. Then you can use SSH key to login as that user. -- With best regards, Andrey Repin Tuesday, August 11, 2020 1:37:01 Sorry for my terrible english...