Xshell with Linux &putty key authentication

Source: Internet
Author: User

Xshell Tools-Options-keyboard and mouse to make the following changes, you can right-click directly paste the selection 650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/97/81/ Wkiom1ku-xrqkqrmaadh6kzefsg406.png "title=" 22.png "alt=" Wkiom1ku-xrqkqrmaadh6kzefsg406.png "/>

Putty Key:

Click Start-putty-putttygen Program, click Generate, notice the mouse to keep moving, generate a key pair. You can set a password

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/97/82/wKioL1ku_h7iTUsuAAFDxHDl0Rs550.png "title=" 23. PNG "alt=" Wkiol1ku_h7itusuaafdxhdl0rs550.png "/>

Generate private key

Do the following on Linux

Mkdir/root/.ssh #创建目录

chmod 700/root/.ssh #修改目录. SSH permissions

Vi/root/.ssh/authorized_keys #打开文件写

Save the Public key contents

Turn off SELinux

Setenforce 0 #关闭selinux

Then in Putty Press operation: 650) this.width=650; "Src=" Https://s1.51cto.com/wyfs02/M00/97/81/wKiom1kvAVDhkfgGAAEwDUikvlY690.png " Title= "24.png" alt= "Wkiom1kvavdhkfggaaewduikvly690.png"/>

Finally don't forget to save

650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M00/97/82/wKioL1kvAW3ySAWuAAEobPqMVBE900.png "title=" 25. PNG "alt=" Wkiol1kvaw3ysawuaaeobpqmvbe900.png "/>


650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/97/81/wKiom1kvAouwSSrKAABGJGXVqOM557.png "title=" 26. PNG "alt=" Wkiom1kvaouwssrkaabgjgxvqom557.png "/>

This authentication method is more secure


Xshell with Linux &putty key authentication

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.