Connect to Operation System
Last updated
Last updated
(Note:PuTTY is not a designated SSH tool, other login methods are allowed)
Connect using PuTTY
(1).Download and install PuTTY from the PuTTY download page.
(2).Start PuTTY (from the Start menu, choose All Programs, PuTTY, PuTTY).
(3).In the Category pane, choose Session and complete the following fields:
(4).run puttygen.exe,load .pem
file change to.ppk
file.
From the Start menu, choose All Programs, PuTTY, PuTTYgen.
Under Type of key to generate, choose RSA. If you're using an older version of PuTTYgen, choose SSH-2 RSA.
Choose Load. By default, PuTTYgen displays only files with the extension .ppk
. To locate your .pem
file, choose the option to display files of all types.
Select your .pem
file for the key pair that you specified when you launched your instance and choose Open. PuTTYgen displays a notice that the .pem
file was successfully imported. Choose OK.
To save the key in the format that PuTTY can use, choose Save private key. PuTTYgen displays a warning about saving the key without a passphrase. Choose Yes.
(5).In the Host Name box: public ip(ipv4).
(6).In the Port Name box: 22
(7).Select Connection -> SSH -> Auth,browse the .ppk
file.
Other SSH client please find the information about SSH Client.
1.open the terminal
2.Input the command: ssh -i key.pem username@host
for example:
2.1 Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
2.2 Choose EC2 enter the Page.
2.3 Choose Get Windows password.
2.4 Select the file name of the private key (.pem
) and unzip.
2.5 Copy Password.
2.6 Using Windows mstsc(Remote Desktop Connection) to connect.
2.7 Enter the default user name and Password.
Note: Get the default user name for the AMI that you used to launch your instance: ‌
For a CentOS AMI, the user name is centos. ‌
For an Ubuntu AMI, the user name is ubuntu. ‌
For a Windows AMI,the user name is administrator.