![]() ![]() TCP 5985: WMI and PowerShell Remoting for administration.TCP 445|RPC: connection to RD Session Host.TCP 445|RPC: connection to RD Virtualization Host.TCP 3389: client port for clients not using RD Gateway.TCP 3389: connection to non-managed VM pools, managed machines use VMBus to open port.TCP 3389: connection to RD Session Host.Can be configured on host and client to a different port number. Press Control+C on terminal to terminate the session. You should be now connected and able to work on remote instance over RDP. Using Microsoft Remote Desktop, open remote desktop connection Session Manager RDP configured earlier for localhost:55678. Connection/Friendly Name: Session Manager RDP.User Account: Provide user name and password created in earlier step.Open Microsoft Remote Desktop client and add a new remote desktop with below information. You should see a message indicating port 55678 has been opened for this session. aws ssm start-session -target -document-name AWS-StartPortForwardingSession -parameters "localPortNumber=55678,portNumber=3389" ![]() Open a terminal on your local machine and type below command to start a session to instance session-manager-windows-stage instance. Enter below command which will prompt you for a password, then type a strong password and enter: $Password = Read-Host -AsSecureStringĬreate a local user: New-LocalUser "User01" -Password $PasswordĪdd user to Remote Desktop Users group: Add-LocalGroupMember -Group "Remote Desktop Users" -Member "User01"Ĭlick Terminate to terminate the session or enter exit and select close.īrowse to the EC2 Console and note instance-id for instance session-manager-windows-stage. Type the following commands to create a new user: Under Instances & Nodes in the AWS Systems Manager navigation menu, browse to the Session Manager console and start a session to windows instance session-manager-windows-stage. ![]() Download the Microsoft Remote Desktop app from the Mac App Store. If your computer doesn’t recognize this command, see the Windows home page and search for the download for the Microsoft Remote Desktop app. To verify, type mstsc at a Command Prompt window. Windows includes an RDP client by default.
0 Comments
Leave a Reply. |