X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com 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 AT yandex DOT ru 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 Date: Tue, 11 Aug 2020 01:38:21 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home X-Priority: 3 (Normal) Message-ID: <402804355.20200811013821@yandex.ru> To: Subramanya Narayanaswamy , cygwin AT cygwin DOT 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 AT default> MIME-Version: 1.0 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 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: , Reply-To: 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" 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... -- 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