Putty Add SSH Key

Source: Internet
Author: User
Question

Each time before using Putty remote connection, you need to enter a password, remember that you can use SSH to achieve password-free login, so try it.

First, on remote Linux, a pair of RSA public key pairs is created with Ssh-keygen, and the private key is copied to the Windows system via Putty Connection-> SSH-> Auth-> Parameters-> Browse selects the private key and then logs on, prompting the following error:

Unable to use key file "xxx" (OpenSSH SSH-2 private key)

What. You cannot use the private key of the OpenSSH SSH-2 type, Are you kidding me. Answer

On the Internet to see a post said OpenSSH private key and putty incompatible, need to use Puttygen convert it to the putty of the private key type, so, download a puttygen tried, and sure enough. OpenSSH private key-> Putty private key

Puttygen-> Import key-> Save private key

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.