When logging on to the remote server using the SSH private key, the system prompts that the private key is not secure.

Source: Internet
Author: User

Use SSH to log on to the remote host and provide the private key id_rsa.rsa.

ssh -l hust_fmliu -i id_rsa.rsa planetlab1.xeno.cl.cam.ac.uk

The following error occurs:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Permissions 0644 for ‘id_rsa.rsa‘ are too open.It is required that your private key files are NOT accessible by others.This private key will be ignored.bad permissions: ignore key: id_rsa.rsaPermission denied (publickey,keyboard-interactive).

Solution: chmod 600

When logging on to the remote server using the SSH private key, the system prompts that the private key is not secure.

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.