After purchasing and launching an instance of Linux type, you can choose to login the instance for relevant management. Depending on whether your local operating system and instance are accessible by the Internet, different login methods can be adopted in different situations. For details, please refer to the table below.
|Type of Local Operating System||Linux Instance Associated to Elastic IP||Linux Instance Not Associated to Elastic IP|
|Wndows|| VNC Login
Use Password/ Key Pair to Login through Remote Login Software
|Linux / Mac OS|| VNC Login
Use Password/ Key Pair to Login
Create an instance and acquire the account number and corresponding password:
VNC login is a way provided by JD Cloud for remote connection to instance for users via Web browser. In the case that a remote login client is not installed or the client remote login is not available, the user can connect to the instance through VNC login, observe the instance status, and perform basic instance management operations through the instance user. The scenarios of VNC login include at least the following:
Click VNC to enter the login page.
You can use a variety of remote login software to login to the JD Cloud Linux instance. If you use the key pair to login to the instance, you need to enable the key pair login function when creating the instance and bind a key pair to the instance. Please ensure the private key pair of the bound key pair has been downloaded before that. For the creation of key pair, please refer to Create a Key Pair.
Here, CentOS 7.1 64-bit system and Xshell remote login software are used as examples and you can complete the login according to the steps below.
Download and install the remote login software You can use this address to download: http://iaas-cns-download.s3.cn-north-1.jcloudcs.com/xshell5_5.0.1332.exe or download Xshell software yourself. After downloading, double-click xshell5_5.0.1332.exe to install it.
After the installation is complete, open Xshell and click New to enter relevant parameters according to requirements.
Select user identify verification
For Linux users, please run the following command directly. For Mac OS users, please enable the terminal of the system and then run the following command. After that, enter the password of the root user of the instance. If the correct password is entered, it can connect to the instance successfully.
`ssh root@<Public IP Address of Instance>`
For Linux users, please run the following command directly. For Mac OS users, please enable the terminal of the system and then run the following command to give itself the access right to files with private key pair.
` chmod 400 <Download to Local Absolute Path of Private Pair Key Associated to Instance> `
And then, run the following remote login command:
`ssh -i "<Download to Local Absolute Path of Private Pair Key Associated to Instance>" root@<Public IP Address of Instance>`