Securt CRT Connection AWS EC2

Source: Internet
Author: User

AWS's EC2 server is certified with a key, and when you create instance, you are prompted to create a key pair, prompting you to download a Xxx.pem key file to your local hard disk. Here are the steps to connect to EC2 via SECURECRT:

1. Upload the Xxx.pem file to a Linux system and modify its permissions to 600. Order chmod Xxx.pem

2. Generate public key. pub file Command ssh-keygen-e-F XXX.PEM > Xxx.pem.pub

3. Download the generated files locally (two files are best placed in the same directory).

4. New connection in SECURECRT, protocol select SSH2, hostname fill Public DNS (this address EC2 console will provide), user name fill Ec2-user (different types of operating system, user name is not the same, see the link for details). The contents are as follows:

The correct user name is as follows:

    • For Amazon Linux Amis, the user name is ec2-user .

    • For RHEL5 Amis, the user name is root or ec2-user .

    • For Ubuntu AMI, the user name is ubuntu .

    • For Fedora AMI, the user name is fedora or ec2-user .

    • For SUSE Linux, the user name is root or ec2-user .

    • In addition, if ec2-user and root not available, check with the AMI vendor.

5. Modify the public key (PublicKey)

Click "Properties" option, select "Use Session public key" to fill in the generated XXX.pem.pub file absolute path, click "OK"

Click Connect to connect to the server

Securt CRT Connection AWS EC2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.