First, putty
1.putty Download Installation
Official website: https://www.chiark.greenend.org
:https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
It's best to download Putty's Zip package, which contains common widgets and tools
Putty.zip (A. ZIP Archive of all the above)
Https://the.earth.li/~sgtatham/putty/latest/w64/putty.zip
Both 32-bit and 64-bit are available and do not conflict with the operating system
Just putty.exe a program for the moment.
Common settings for 2.putty
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/08/D2/wKiom1nndYSh-N_xAABGiKyX5IU925.png "title=" 1.png "alt=" Wkiom1nndysh-n_xaabgikyx5iu925.png "/>
A. set the font, size in Appearance--font settings
B. set the encoding of characters in Translation--remote character set ( common UTF-8)
c. set Lines of scrollback in window to control the number of rows that can be viewed in a session ( recommended value)
Second, Putty Key verification
Use Puttygen to generate the public and private keys, save the private key locally, the public key is stored on the Linux system (that is, the server), and the public and private keys are correctly paired to connect properly.
1. Open Puttygen, click Generate to create the key pair
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/08/D2/wKiom1nndbyjbFokAAAv1Nm4FtM253.png "title=" 2.png "alt=" Wkiom1nndbyjbfokaaav1nm4ftm253.png "/>
During the build, you need to shake the mouse multiple times to speed up the build, after the build is complete as follows:
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M00/A7/82/wKioL1nncxayTG0dAACJki4HTW4889.png "title=" Put02.png "alt=" Wkiol1nncxaytg0daacjki4htw4889.png "/>
2. Create a public key file on the server as follows:
[Email protected] ~]# MKDIR/ROOT/.SSH
[Email protected] ~]# chmod 700!$
chmod 700/root/.ssh
[Email protected] ~]# Vim/root/.ssh/authorized_keys #粘贴进puttygen中的公钥内容
chmod 600/root/.ssh/authorized_keys//Change file permissions
3. Load the private key on putty
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M02/08/D2/wKiom1nnde2hfrpmAABm9I3t0yQ034.png "title=" Put03.png "alt=" Wkiom1nnde2hfrpmaabm9i3t0yq034.png "/>
To link the server again, you need to enter the private key password set in the first step:
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/A7/82/wKioL1nnc0uwhFQgAAAQ-lJY2Ds956.png "title=" 4.png "alt=" Wkiol1nnc0uwhfqgaaaq-ljy2ds956.png "/>
At this point, the key authentication is complete!
Attention:
-----------------------------------------
There are two firewalls: SELinux and NetFilter
Setenforce 0//Temporarily turn off the firewall
Vi/etc/selinux/config//Enter the directory to make changes to the configuration file
Put selinux=enforcing
Change into selinux=disabled
IPTABLES-F//temporarily clears the firewall and resumes after reboot
Service Iptables Save//Saves the Purge firewall rule to/etc/sysconfig/iptables
----------------------------------------------------------------------
Third, Xshell
Official website:www.netsarang.com
Free personal version of the trial, can be downloaded from the official website, can also be downloaded directly from Baidu
To implement the same functions as putty: left mouse button selected copy, mail Click Paste , you need to set as follows:
Open Xshell, Tools--options---such as
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/A7/82/wKioL1nnc4TiGxf-AACCEnZQRa8664.png "title=" Xshell01. PNG "alt=" Wkiol1nnc4tigxf-aaccenzqra8664.png "/>
Set the right mouse button function to paste the Clipboard contents, and tick the red box below to select the option.
Xshell key verification, subsequent replenishment.
Putty, Xshell and key authentication