From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by sourceware.org (Postfix) with ESMTPS id DE5833857C49 for ; Tue, 11 Aug 2020 07:44:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DE5833857C49 Received: by mail-ej1-x633.google.com with SMTP id a26so12068717ejc.2 for ; Tue, 11 Aug 2020 00:44:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=vXqtjU038/26l+sQ843dSgRkdxnkWszOYG6H3aaiIMs=; b=Y4Je4Te5Qw6uKyhiOqgY48K7zi58I9t+hrSMKjlHSyaGezmuN+7GyxImFjg5I1+C6K psSpRQ+E2Q/JHi1+fs5+VJIX7OwXL6kkJ7FocHLnASGkdN4ERHKhOBAdARkp/DntImdr ogx4PVCE7Y0pOHywAZjaTo2fErZQC0cpQ80yA8NqTbAIjlUlKDzUWCQ2aebqNqMB4Qnv 9aLhYmDHi0TS0Y5g2Rhobc/Y/X5gM8c5LKtpJT+CIjIERYyFGC02vqTGRlaOgP8C0iBv WTIJ+ggu0Ghar1bJskZjoj3etauJhr/RyB821Pe/CR1WGTxIpJdYXcVOXYPLtjFyYkl6 IM4A== X-Gm-Message-State: AOAM530e0nbdLOlJnKCsgpOE/vfDDrxbYgKCVaI4peC3vdlOadGGwLKp n6uEzPDyBymjUB4+qEjvc0s= X-Google-Smtp-Source: ABdhPJy7p/W1SVs8mGvjeiYNNt0KNkRoTOlvur30pF8a784l5b2ojrIeFHp3UeeZjwbtn0OFFxIATA== X-Received: by 2002:a17:906:d8ca:: with SMTP id re10mr24175654ejb.382.1597131856975; Tue, 11 Aug 2020 00:44:16 -0700 (PDT) Received: from [192.168.0.10] ([151.33.231.19]) by smtp.gmail.com with ESMTPSA id w9sm14409680ejk.62.2020.08.11.00.44.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Aug 2020 00:44:16 -0700 (PDT) Subject: Re: Need information on creating service user to connect from the Agent server to Windows hosts for installing agents on remote To: cygwin@cygwin.com, subramanya.narayanswamy@oracle.com References: <6c46c572-6678-45ea-91db-54d02e0c3bcd@default> <402804355.20200811013821@yandex.ru> <1dbc09c8-07ad-4f42-8c7e-0aff2fbe68cc@default> From: Marco Atzeri Message-ID: Date: Tue, 11 Aug 2020 09:44:15 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <1dbc09c8-07ad-4f42-8c7e-0aff2fbe68cc@default> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, 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: Tue, 11 Aug 2020 07:44:19 -0000 On 11.08.2020 08:35, Subramanya Narayanaswamy via Cygwin wrote: > 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@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 > you are confusing the user that runs the sshd services (SYSTEM) with the user that uses the sshd service and connects through ssh /usr/bin/ssh-host-config sets the first /usr/bin/ssh-user-config sets the second $ cygcheck -l openssh |grep -- -config /usr/bin/ssh-host-config /usr/bin/ssh-user-config