Execution of commands on an AWS Windows EC2 instance using pywinrm fails because WSMan AllowUnencrypted is set to False – Amazon web services
I am trying to connect to a Windows EC2 instance and run some commands against it using pywinrm. I am using the following code to create a session: session = winrm.Session(ec2_instance.public_dns_name, auth=(user_name, password)) which works fine. Now, when I use…