How to Set Up RDP for Existing Windows Instances on AWS?

0
3
Asked By TechieTurtle123 On

I recently joined an organization that is migrating to AWS. They created the instances without generating key pairs, and we currently only have SSH access. I want to set up Fleet Manager and/or RDP connections for each server to make troubleshooting easier. Is there a way to generate and apply a key pair to get the admin password and access the system through the EC2 console instead of using the EC2 serial console? Just to clarify, I'm working with a Windows setup using Server 2019 and 2022.

1 Answer

Answered By CloudyNinja77 On

You can use a user data script to add your SSH public key into the instance's authorized keys. Just reboot the instance after that, and you should be able to connect easily.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.