Logging In to a Windows HECS from a Linux Server
Scenarios
This section describes how to log in to a Windows HECS from a Linux server.
Prerequisites
- The HECS is running.
- The HECS has an EIP bound.
When logging in to an HECS through an intranet using MSTSC, for example, through VPN or Direct Connect, you do not need to bind an EIP to the HECS.
- Access to port 3389 is allowed in the inbound direction of the security group that the HECS is associated with.
- The network connection between the login tool and the target HECS is normal. For example, the default port 3389 is not blocked by the firewall.
- RDP has been enabled on the target HECS. By default, RDP has been enabled on the HECSs created using a public image. For instructions about how to enable RDP, see Enabling RDP.
Logging In to a Windows HECS from Local Linux Server
If your local server runs Linux, use a remote access tool, such as rdesktop, to log in to a Windows HECS.
- Download and install rdesktop on the local server. Download rdesktop.
yum -y install rdesktop
- Run the following command to log in to the HECS:
rdesktop -u Username -p Password -g Resolution EIP
For example, run rdesktop -u administrator -p password -g 1024*720 192.168.x.x.
Table 1 Parameters in the remote login command Parameter
Description
-u
Username, which defaults to Administrator for Windows HECSs
-p
Password for logging in to the Windows HECS
-f
Full screen by default, which can be switched using Ctrl+Alt+Enter
-g
Resolution, which uses an asterisk (*) to separate numbers. This parameter is optional. If it is not specified, the remote desktop is displayed in full screen by default, for example, 1024*720.
EIP
EIP of the Windows HECS to be remotely logged in Replace it with the EIP bound to your Windows HECS.
Enabling RDP
By default, RDP has been enabled on the HECSs created using a public image.
- Log in to the HECS using VNC.
For details, see Login Using VNC.
- Click Start in the task bar and choose Control Panel > System and Security > System > Remote settings.
The System Properties dialog box is displayed.
Figure 1 System Properties
- Click the Remote tab and select Allow connections from computers running any version of Remote Desktop (less secure).
- Click OK.
Last Article: Login Using MSTSC
Next Article: Logging In to a Windows HECS from a Mobile Terminal
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.