From: Subramanya Narayanaswamy <subramanya.narayanswamy@oracle.com>
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
Date: Tue, 11 Aug 2020 06:35:29 +0000 (UTC) [thread overview]
Message-ID: <1dbc09c8-07ad-4f42-8c7e-0aff2fbe68cc@default> (raw)
In-Reply-To: <402804355.20200811013821@yandex.ru>
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
--
Subramanya Narayanswamy, Staff Consultant, Infrastructure
Mobile: +919900036638
Oracle Consulting | IaaS
Oracle India
-----Original Message-----
From: Andrey Repin [mailto:anrdaemon@yandex.ru]
Sent: Tuesday, August 11, 2020 4:08 AM
To: Subramanya Narayanaswamy <subramanya.narayanswamy@oracle.com>; 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
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...
next prev parent reply other threads:[~2020-08-11 6:35 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 [this message]
2020-08-11 7:44 ` Marco Atzeri
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=1dbc09c8-07ad-4f42-8c7e-0aff2fbe68cc@default \
--to=subramanya.narayanswamy@oracle.com \
--cc=cygwin@cygwin.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).