Monday, October 25, 2021

AWS - HowTo take RDP from linux EC2 instance to Windows EC2 instance

 


In this blog post, let us see how to take RDP connection from AWS Linux EC2 instance to AWS Windows EC2 instance


Pre-requisites:

  • An active AWS account
  • Permissions to use IAM, EC2, AWS SSM services

Steps:

  • Login & Navigate to AWS EC2 Management console
  • Launch a free tier linux EC2 & windows EC2 instance
  • Install xfreerdp utility in linux instance



  • Identify the port open for accessing windows instance and use the same for connecting from linux (it is 3690 in this example)
  • Now issue the command from xfreerdp to take remote desktop to intended Windows EC2 instance



  • Find the RDP from freeRDP window opening up to the desired Windows box, as above. 
Note:
  • xfreerdp is utility to take remote desktop from linux to windows boxes. This is just like RDP(mstsc) that we use from taking remote desktop to another windows from our windows laptop/desktop
  • We can use RDP client from MacOS as well, if that stands to be our source machine

No comments:

Post a Comment