Local windows for the first time Ali cloud ECS remote login server
Local environment for Windows
A precondition:
(4:00 operations following related preconditions can read my other article: implement locally remote login prerequisite Ali cloud server )
1, created in the cloud Ali ECS instance key, download a pem file saved to local;
2, the key binding instance, and restart the instance into effect;
3 for instance add the security group rules, open the ssh port 22;
4, modify the configuration file ssh Ali cloud instance and restart the ssh service;
This section is: Under the prerequisites are met, how to log Ali cloud ECS instance with the local windows system remotely;
Second, the need to use a file or tools:
1, aliyun ECS examples provided key file (a file ending .pem);
2, and the PuTTY PuTTYgen software;
Third, the implementation process:
1, click to download and install PuTTYgen and PuTTY .
2, the .pem private key files into .ppk private key file and save it to a local folder.
First start PuTTYgen, select Type of key to generate the RSA, and then click Load.
Select All Files.
Select .pem private key file to be converted.
In the dialog box, click OK.
Click Save private key.
In the dialog box, click Yes.
Specify the name .ppk private key file, and then click Save.
3, for the PuTTY private key file configured for authentication.
Start PuTTY, select Connection> SSH> Auth.
Click Browse ....
Select the converted .ppk private key file.
4, examples of the information required to configure the connection Linux.
Click Session.
Enter your login account and instance of public IP address in the Host Name (or IP address).
Root @ IP address format.
Enter the port number 22 in the Port.
Select Connection type to SSH.
5, click Open.
When the following prompt, indicating that you have successfully logged in instances using SSH keys.
6, if you want to disconnect ssh connection:
Press ctrl + D input terminal or logout