I want to use the same gcloud compute SSH command to connect to the windows VMs so that I can use the same connection mechanism for the SSH from AWX. I am following the doc https://cloud.google.com/compute/docs/connect/windows-ssh#running_vm . To achieve that I added the following metadata key (at instance level): for my windows server 2016 server by which I am trying to install openssh and sshd.
IAP tunneling can get you access to WinRM which especially for Windows 2016 will be better supported than SSH. The truck will be finding away to get the tunnel built similar to how we do for SSH via ProxyCommand.
Before asking questions, please make sure to do plenty of your own research and try things out yourself.
It’s helpful if you organize what you’ve considered, what you’ve looked up, what you’ve tried, and what results you got.
Also, please provide enough background information about the issue, as well as any relevant sample config files or playbooks.
If you ask lots of questions without sharing these details—as if you’re just using us instead of Google or ChatGPT—it’s not really a great approach, in my opinion.
At the very least, I’m not your dedicated consultant.
Apologies @kurokobo , I can understand. Since I tried already couple of ways to connect the machine using gcloud compute ssh ( not working ) and not able to post everything I tried yesterday since the post will look long. From next time will try to put all my tries here so that responders will have better idea. As always Thanks lot for your response.