From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aserp2120.oracle.com (aserp2120.oracle.com [141.146.126.78]) by sourceware.org (Postfix) with ESMTPS id 469D93860C33 for ; Tue, 11 Aug 2020 06:35:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 469D93860C33 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07B6GhaJ179792 for ; Tue, 11 Aug 2020 06:35:34 GMT Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2120.oracle.com with ESMTP id 32sm0mjpqw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 11 Aug 2020 06:35:34 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07B6JQta164239 for ; Tue, 11 Aug 2020 06:35:34 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 32u3h0ymwc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 11 Aug 2020 06:35:33 +0000 Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 07B6ZWtL013640 for ; Tue, 11 Aug 2020 06:35:33 GMT MIME-Version: 1.0 Message-ID: <1dbc09c8-07ad-4f42-8c7e-0aff2fbe68cc@default> Date: Tue, 11 Aug 2020 06:35:29 +0000 (UTC) From: Subramanya Narayanaswamy Sender: Subramanya Narayanaswamy To: 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 References: <6c46c572-6678-45ea-91db-54d02e0c3bcd@default> <402804355.20200811013821@yandex.ru> In-Reply-To: <402804355.20200811013821@yandex.ru> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 15.0.5257.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9709 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxlogscore=999 mlxscore=0 malwarescore=0 spamscore=0 suspectscore=29 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008110040 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9709 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 clxscore=1015 suspectscore=29 mlxlogscore=999 priorityscore=1501 adultscore=0 impostorscore=0 spamscore=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008110040 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP 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-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: Tue, 11 Aug 2020 06:35:38 -0000 Hi Andrey, Thanks for the response. Basically I have an Cloud control Agent server on LINUX host and Cloud cont= rol would like connect to Windows hosts over an SSH protocol. So for that I= have installed CYGWIN on my client windows machine and tried to configure = ssh-host-config. It is taking default SYSTEM user ( example: if my local ac= count is SUBBU) and generating the profile files. Now I can user the below = command to connect to windows host over SSH using username and password tha= t is SYSTEM default. ssh user1@IP But here I want to create a separate user to authenticate from Cloud contro= ller to target client with ssh setup and password based authentication. Hope I answered your question? Subramanya --=20 Subramanya Narayanswamy, Staff Consultant, Infrastructure Mobile: +919900036638 Oracle Consulting | IaaS Oracle India=20 -----Original Message----- From: Andrey Repin [mailto:anrdaemon@yandex.ru]=20 Sent: Tuesday, August 11, 2020 4:08 AM To: Subramanya Narayanaswamy ; cygwin@c= ygwin.com Subject: Re: Need information on creating service user to connect from the = Agent server to Windows hosts for installing agents on remote 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,un= zip. > When I run Cygwin.bat file and try to configure SSH host service to=20 > connect from Agent server on this windows host, I don't get a prompt=20 > 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=20 > command ssh-host-config by running the Cygwin.bat file. Why? > Could you please help on how to setup separate user with right SSH=20 > 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...