Ssh access using the private key

Source: Internet
Author: User

Ssh access using the private key
When I applied for an online O & M machine today, O & M gave me a private key. It was the first time I used the private key for ssh access. In the past, we usually copied our public key (id_rsa.pub) to the corresponding machine. So what should we do now? I think most people who have never done this are considering whether they can do it,
Don't hold back, Weibo is coming soon:

How can this problem be solved? google, man ssh

Assume that the public key file is key. pem 1. Set the file access permission, chmod 600 key. pem 2. access ssh-I key. pem user @ host
But !!!
You don't need to use the private key. O & M is convenient and fast, but it is still not recommended in terms of security and standard operations.

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.