Putty Password-free automatic login Linux

Source: Internet
Author: User

1. Use the Puttygen.exe tool in the Putty installation directory. Click "Build (Generate)" and then move the mouse until the progress bar fills up to generate the key

Public key part: Copy the upper section of the text Select all. (Do not click "Save Public Key"), it is useless to click the saved public key! )
Private key section: Click "Save private Key" to save a. ppk file.
Note: Do not add a password to the key file-add a password, each time you use the. ppk file you need to provide, it is a departure from the automatic login this purpose.

Automatic Login
Automatic authentication can be achieved by informing Linux and Putty of the public and private keys separately.

Public key file: Put it in a file in Linux.
Please log in to Linux with the Putty and password to enter the username. Use the command nano ~/.ssh/authorized_keys to edit the Authorized_keys file. -Usually this file does not exist, and the nano will open an empty file.
Glue the public key that you just copied down to the file. (Right-click in Putty is paste.) )

Private key file: Available to Putty.
Each time putty login, in the "Connect with SSH-and authentication" option, "Authentication private key File" Select just the. ppk file can be automatically logged in.
(English version: Connection, SSH---Auth, Private keyfile for authentication)

Putty Password-free automatic login Linux

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.