Need information on creating service user to connect from the Agent server to Windows hosts for installing agents on remote
Hi Team, 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. But I want create a new Cygwin(let's say agentuser user) using the command ssh-host-config by running the Cygwin.bat file. Could you please help on how to setup separate user with right SSH permission please? It would be great help. Subramanya -- 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
RE: Need information on creating service user to connect from the Agent server to Windows hosts for installing agents on remote
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:anrdae...@yandex.ru] Sent: Tuesday, August 11, 2020 4:08 AM To: Subramanya Narayanaswamy ; 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... -- 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
RE: Need information on creating service user to connect from the Agent server to Windows hosts for installing agents on remote
Do you have any steps to follow to create an admin user using ssh-user-config command? Because when I run ssh-user-config it is taking SYSTEM user as default user name and doesn't prompt to create new user for the purpose of connecting remotely to the target windows host which runs CYGWIN. Subramanya -- Subramanya Narayanswamy, Staff Consultant, Infrastructure Mobile: +919900036638 Oracle Consulting | IaaS Oracle India -Original Message- From: Andrey Repin [mailto:anrdae...@yandex.ru] Sent: Wednesday, August 12, 2020 4:55 AM To: Subramanya Narayanaswamy ; 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! Please bottom post in this list. > 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. For that, you need a REGULAR user, for which you need to use a strong password and prepare it for key-based login. See the documentation and the other reply from Marco. > 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. Yes. Do it. -- With best regards, Andrey Repin Wednesday, August 12, 2020 2:22:48 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
RE: Need information on creating service user to connect from the Agent server to Windows hosts for installing agents on remote
Hi Team, I'm facing below issue while trying to start CYGSSHD server. I'm running the below command as an Administrator but not sure why cygsshd is not starting. Any help? -- $ net start cygsshd The CYGWIN cygsshd service is starting. The CYGWIN cygsshd service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. Subramanya -- Subramanya Narayanswamy, Staff Consultant, Infrastructure Mobile: +919900036638 Oracle Consulting | IaaS Oracle India -Original Message- From: Stephen Carrier [mailto:carr...@berkeley.edu] Sent: Wednesday, August 12, 2020 9:29 PM To: Subramanya Narayanaswamy Cc: 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 On Wed, Aug 12, 2020 at 01:43:30PM +, Subramanya Narayanaswamy via Cygwin wrote: > Do you have any steps to follow to create an admin user using ssh-user-config > command? Because when I run ssh-user-config it is taking SYSTEM user as > default user name and doesn't prompt to create new user for the purpose of > connecting remotely to the target windows host which runs CYGWIN. I think you just need to create a regular windows users, or use one that already exists. I use ssh extensively to connect to various windows accounts and have never touched ssh-user-config. Just ssh and use the windows login and password. It can be an Administrator account. Stephen -- 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
Issue in starting the CYGSSHD service
Hi Team, Has anyone faced the same issue I'm facing now ? After installation of CYGWIN I tried to run command to start cygsshd in CYGWIN terminal with Admin privalages and facing the below error. Any help would be great thanks!! Subramanya -- http://www.oracle.com/ Subramanya Narayanswamy, Staff Consultant, Infrastructure Mobile: +919900036638 Oracle Consulting | IaaS Oracle India -- 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