X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C1EB6385042D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1597131861; bh=jvSTjqNQwC3Hph7Ao5c6KQbmqe59uWAUZICyEWZHIY8=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=N7qhBrvWK/xcSE8lEx0s9ajGur6DCqTXEQcamFx7lI74FP9JgvSIyYmXaVko/uuJn HBDxreinK+T+qRsryEYebU5ibxnwNl93TcZmgs0+Q40wnOBr+NgYBOiptMc58BK020 AjPCuJxc8in354FQ2kYowkAF5icF5BAn8Y77EWg0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DE5833857C49 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) Subject: Re: Need information on creating service user to connect from the Agent server to Windows hosts for installing agents on remote To: cygwin AT cygwin DOT com, subramanya DOT narayanswamy AT oracle DOT com References: <6c46c572-6678-45ea-91db-54d02e0c3bcd AT default> <402804355 DOT 20200811013821 AT yandex DOT ru> <1dbc09c8-07ad-4f42-8c7e-0aff2fbe68cc AT default> 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-Language: it 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 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: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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 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 > 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 -- 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