public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com, subramanya.narayanswamy@oracle.com
Subject: Re: Need information on creating service user to connect from the Agent server to Windows hosts for installing agents on remote
Date: Tue, 11 Aug 2020 09:44:15 +0200	[thread overview]
Message-ID: <d8732772-fbe6-1a8e-4f03-21d8ea5b9562@gmail.com> (raw)
In-Reply-To: <1dbc09c8-07ad-4f42-8c7e-0aff2fbe68cc@default>

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





  reply	other threads:[~2020-08-11  7:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-10 18:21 Subramanya Narayanaswamy
2020-08-10 22:38 ` Andrey Repin
2020-08-11  6:35   ` Subramanya Narayanaswamy
2020-08-11  7:44     ` Marco Atzeri [this message]
2020-08-11 23:25     ` Andrey Repin
2020-08-12 13:43       ` Subramanya Narayanaswamy
2020-08-12 14:42         ` Andrey Repin
2020-08-12 15:58         ` Stephen Carrier
2020-08-12 16:26           ` Re[2]: " Subramanya Narayanswamy
2020-08-16  8:17           ` Subramanya Narayanaswamy
2020-08-16  9:36             ` Marco Atzeri
2020-08-19 16:32               ` Stephen Carrier
2020-08-19 16:35                 ` Re[2]: " Subramanya Narayanswamy
2020-08-16  9:55             ` ASSI
2020-08-10 22:44 ` Bill Stewart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d8732772-fbe6-1a8e-4f03-21d8ea5b9562@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    --cc=subramanya.narayanswamy@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).