How the SECURECRT software logs on to the Linux system with a key

Source: Internet
Author: User

A securecrt software above the operation

1 Creating a public key on the software

Note: The server with which user is connected is the secret key of the user who is created

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/82/15/wKiom1dLl3aQW2oaAADd2Y3PcK4577.png-wh_500x0-wm_3 -wmp_4-s_702153629.png "title=" 1.png "alt=" Wkiom1dll3aqw2oaaadd2y3pck4577.png-wh_50 "/>

2 Select the type of encryption, select DSA Encryption


650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/82/14/wKioL1dLmJCiXYLEAAAwVpdm8Qg821.png-wh_500x0-wm_3 -wmp_4-s_2314966308.png "title=" 2.png "alt=" Wkiol1dlmjcixyleaaawvpdm8qg821.png-wh_50 "/>

3 Add encryption key protection password


650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/82/14/wKioL1dLmLHjIUzeAABIKh1Yfsg696.png-wh_500x0-wm_3 -wmp_4-s_461731571.png "title=" 3 Key protection password. png "alt=" wkiol1dlmlhjiuzeaabikh1yfsg696.png-wh_50 "/>


4 Select key Length (default)

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/82/14/wKioL1dLmOyxP4LCAABDnz-HcwE355.png-wh_500x0-wm_3 -wmp_4-s_987124104.png "title=" 4.png "alt=" Wkiol1dlmoyxp4lcaabdnz-hcwe355.png-wh_50 "/>


5 process for generating keys

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/82/15/wKiom1dLmA7hIJjoAAAqFkblM88441.png-wh_500x0-wm_3 -wmp_4-s_3261105120.png "title=" 5.png "alt=" Wkiom1dlma7hijjoaaaqfkblm88441.png-wh_50 "/>


6 Key Storage Path

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/82/14/wKioL1dLmR-RI-b9AABfI_F_7yA036.png-wh_500x0-wm_3 -wmp_4-s_1322690423.png "title=" 6.png "alt=" Wkiol1dlmr-ri-b9aabfi_f_7ya036.png-wh_50 "/>


Configuration on two servers

Now the configuration of the software is finished, the Linux server also needs to configure some things

1 Vim/etc/ssh/sshd_config Add a line to the last face:

-Permitrootlogin Without-password

-

2 Setting up a personal user useradd-g root (group) Hu user Name

Then switch to the user you just created and go to the user's home directory to create a hidden directory

mkdir. SSH

3 Changing directory Permissions

chmod. SSH or change to 755

4 Upload the private key that you just generated to the server. SSH directory , remember to upload the key to use their own users uploaded , with RZ if not installed Lrzsz

5 Put the contents of the public key into this file Authorized_keys, (need to use this command to convert the OpenSSH recognized key format, the default public key is not the other

Ssh-keygen-i-F identity.pub >>authorized_keys

6 Change authorized permissions for this file

chmod Authorized_keys

6 finally restart the SSH service

Service sshd Restart

7 Select Key Login to move the key option to the first bit

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/82/15/wKiom1dLmH6h9XO3AAAsGFMgpXQ749.png-wh_500x0-wm_3 -wmp_4-s_1170102896.png "title=" 7.png "alt=" Wkiom1dlmh6h9xo3aaasgfmgpxq749.png-wh_50 "/>


8 Click Properties to select the private key that you just generated

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/82/15/wKiom1dLmJagMFShAAA3H_3zUtk503.png-wh_500x0-wm_3 -wmp_4-s_3667705788.png "title=" 8.png "alt=" Wkiom1dlmjagmfshaaa3h_3zutk503.png-wh_50 "/>

Finally click OK, the connection is successful

This article is from the "Drifting Away" blog, make sure to keep this source http://825536458.blog.51cto.com/4417836/1784357

How the SECURECRT software logs on to the Linux system with a key

Related Article

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.