delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/08/11/02:36:27

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 68EDD3860C33
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1597127740;
bh=9hXb3oSmP+z0vabQ9CBxQi0pp3O3a9+8iKBBIgCRByE=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=QARDTkLKT/k4d2wuap7wP6DWy4TDJyOkB1DkQu3Ti/oq67QQRDort+NEve7tGRyP7
cU+m6qpcs3bMVtZdWREr0MmAfrVSSn9SBg+z872ZasxTd7ow5vd+m8LxCd6ISU/521
0xyr7y0bqXuB2+oeESIN2a1rtdN+0cH5TSPShYkE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 469D93860C33
MIME-Version: 1.0
Message-ID: <1dbc09c8-07ad-4f42-8c7e-0aff2fbe68cc@default>
Date: Tue, 11 Aug 2020 06:35:29 +0000 (UTC)
To: 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
References: <6c46c572-6678-45ea-91db-54d02e0c3bcd AT default>
<402804355 DOT 20200811013821 AT yandex DOT 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)]
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Subramanya Narayanaswamy via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Subramanya Narayanaswamy <subramanya DOT narayanswamy AT oracle DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Hi Andrey,

Thanks for the response.

Basically I have an Cloud control Agent server on LINUX host and Cloud control 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 account 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 that is SYSTEM default.

ssh user1 AT IP

But here I want to create a separate user to authenticate from Cloud controller to target client with ssh setup and password based authentication.

Hope I answered your question?

Subramanya
-- 

Subramanya Narayanswamy, Staff Consultant, Infrastructure
Mobile: +919900036638
Oracle Consulting | IaaS

Oracle India 

-----Original Message-----
From: Andrey Repin [mailto:anrdaemon AT yandex DOT ru] 
Sent: Tuesday, August 11, 2020 4:08 AM
To: Subramanya Narayanaswamy <subramanya DOT narayanswamy AT oracle DOT com>; 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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019