Like we have python library BOTO3 which we can use to ssh into a linux based ec2 instance, but it looks like the same script does not work for a windows based ec2 instance. I used the python script in this question to connect to my windows How to SSH and run commands in EC2 using boto3? . But I am getting the below error :
[WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
All my security group rules are compliant, I have RDP port open in incoming tab. Still getting this error. Is there a way in python to RDP into a windows ec2 instance ? Or any other programing language for that matter ?