Using putty to connect and configure key authentication
First step: Download putty
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/08/B5/wKiom1nl9xqQm_l4AADW-qApWM8405.jpg-wh_500x0-wm_ 3-wmp_4-s_2786509660.jpg "style=" Float:none; "title=" qq20171017201951.jpg "alt=" wkiom1nl9xqqm_ L4aadw-qapwm8405.jpg-wh_50 "/>
Download. zip 64-bit PC 32-bit putty can also be used
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/08/B5/wKiom1nl9xrTC1jbAACq_WdEaIE998.jpg-wh_500x0-wm_ 3-wmp_4-s_2366343244.jpg "style=" Float:none; "title=" qq20171017202226.jpg "alt=" wkiom1nl9xrtc1jbaacq_ Wdeaie998.jpg-wh_50 "/>
Step Two: Configure basic information
Open PuTTY
Port default is 22 (port can be changed)
IP address If you forget, ifconfig check
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/08/C1/wKiom1nmx9CQGEBqAACUC9R8fEE402.jpg-wh_500x0-wm_ 3-wmp_4-s_3588155938.jpg "title=" configuration basic information. jpg "alt=" wkiom1nmx9cqgebqaacuc9r8fee402.jpg-wh_50 "/>
Load >open
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/A7/70/wKioL1nmxSziYJt6AAB35akGUN4897.jpg-wh_500x0-wm_ 3-wmp_4-s_3696670309.jpg "title=" is. jpg "alt=" wkiol1nmxsziyjt6aab35akgun4897.jpg-wh_50 "/>
Enter login password to complete login
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/08/C1/wKiom1nmyAbAiboxAADEx_gJB-Y869.jpg-wh_500x0-wm_ 3-wmp_4-s_878329344.jpg "title=" Putty landing interface. jpg "alt=" wkiom1nmyabaiboxaadex_gjb-y869.jpg-wh_50 "/>
If the interface appears, the login is successful
Step Three: Configure key authentication
Step1: Find PuTTYgen
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/A7/71/wKioL1nmyTSggEt-AAC-x_Enzco928.jpg-wh_500x0-wm_ 3-wmp_4-s_3871507241.jpg "title=" Putty gen.jpg "alt=" Wkiol1nmytsgget-aac-x_enzco928.jpg-wh_50 "/>
STEP2: Click Generate after opening
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/08/C2/wKiom1nmzBTypF1DAABfZvVAyVk866.jpg-wh_500x0-wm_ 3-wmp_4-s_2232413685.jpg "title=" qq20171018113016.jpg "alt=" Wkiom1nmzbtypf1daabfzvvayvk866.jpg-wh_50 "/>
This process should keep shaking the mouse, otherwise the progress bar does not go
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/08/C2/wKiom1nmzC6SD5AjAABnxXoTbJ0207.jpg-wh_500x0-wm_ 3-wmp_4-s_3958405467.jpg "title=" qq20171018113029.jpg "alt=" Wkiom1nmzc6sd5ajaabnxxotbj0207.jpg-wh_50 "/>
Enter a password to save the public and private keys to a local folder
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/08/C2/wKiom1nmzGmCc0obAADHNueSBno501.jpg-wh_500x0-wm_ 3-wmp_4-s_601047542.jpg "title=" qq20171018113115.jpg "alt=" Wkiom1nmzgmcc0obaadhnuesbno501.jpg-wh_50 "/>
After saving, this page does not close first
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/08/C2/wKiom1nmzKjCDYcfAAC0zLIBO1w624.jpg-wh_500x0-wm_ 3-wmp_4-s_4244164859.jpg "title=". jpg "alt=" wkiom1nmzkjcdycfaac0zlibo1w624.jpg-wh_50 "/>
Step3: go to server side to do configuration
Create directory: Mkdir/root/.ssh
Change permissions: chmod 700/root/.ssh
Writing files: Vi/root/.ssh/authorized_keys
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/08/C2/wKiom1nmzruDc9gZAABDJ1cxwIw241.jpg-wh_500x0-wm_ 3-wmp_4-s_157570483.jpg "style=" Float:none; "title=" Qq20171018114417.jpg "alt=" Wkiom1nmzrudc9gzaabdj1cxwiw241.jpg-wh_50 "/>
Paste string: Press I into the edit mode, right click on the Paste,
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/A7/72/wKioL1nmzAXAuT0SAAAkaHXj6L4721.jpg-wh_500x0-wm_ 3-wmp_4-s_2764339237.jpg "style=" Float:none; "title=" Qq20171018114431.jpg "alt=" Wkiol1nmzaxaut0saaakahxj6l4721.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/08/C2/wKiom1nmzruTR_itAABeK2r31rM957.jpg-wh_500x0-wm_ 3-wmp_4-s_3625423237.jpg "style=" Float:none; "title=" qq20171018114534.jpg "alt=" wkiom1nmzrutr_ Itaabek2r31rm957.jpg-wh_50 "/>
: Wq Save Exit
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/A7/72/wKioL1nmzAXT8LL0AABJbKXmePE561.jpg-wh_500x0-wm_ 3-wmp_4-s_4118223807.jpg "style=" Float:none; "title=" Back to the interface. jpg "alt=" wkiol1nmzaxt8ll0aabjbkxmepe561.jpg-wh_50 "/ >
STEP4: Turn off SELinux firewall
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/08/C2/wKiom1nmz4KDzU-PAAAm0HqXRuY130.jpg-wh_500x0-wm_ 3-wmp_4-s_2270476493.jpg "title=" qq20171018114950.jpg "alt=" Wkiom1nmz4kdzu-paaam0hqxruy130.jpg-wh_50 "/>
STEP5: PuTTY side load Private key file Don't forget to save
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/08/C2/wKiom1nm1HOz72HMAACYAAbs_Gk921.jpg-wh_500x0-wm_ 3-wmp_4-s_3434100664.jpg "style=" Float:none; "title=" qq20171018115429.jpg "alt=" Wkiom1nm1hoz72hmaacyaabs_ Gk921.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/A7/72/wKioL1nm0b2Tfr6aAACQtx6QYzg691.jpg-wh_500x0-wm_ 3-wmp_4-s_1560524031.jpg "style=" Float:none; "title=" Qq20171018115457.jpg "alt=" Wkiol1nm0b2tfr6aaacqtx6qyzg691.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/A7/72/wKioL1nm0b3h78JIAAClJJvUBSg305.jpg-wh_500x0-wm_ 3-wmp_4-s_4188970203.jpg "style=" Float:none; "title=" Qq20171018115537.jpg "alt=" Wkiol1nm0b3h78jiaacljjvubsg305.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/08/C2/wKiom1nm1HPQHTRlAACakJGVdPM507.jpg-wh_500x0-wm_ 3-wmp_4-s_2477452556.jpg "style=" Float:none; "title=" Qq20171018115550.jpg "alt=" Wkiom1nm1hpqhtrlaacakjgvdpm507.jpg-wh_50 "/>
Re-Login
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/08/C2/wKiom1nm1HSB56HOAABAGUGUAA0322.jpg-wh_500x0-wm_ 3-wmp_4-s_2006374970.jpg "style=" Float:none; "title=" key succeeded. jpg "alt=" wkiom1nm1hsb56hoaabaguguaa0322.jpg-wh_50 "/ >
Attached: Some other basic settings for Putty
Set the number of rows to turn back:
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/08/C1/wKiom1nmyFLj57x4AACT7xY2PEE883.jpg-wh_500x0-wm_ 3-wmp_4-s_3750344498.jpg "style=" Float:none; "title=" Qq20171017203453.jpg "alt=" Wkiom1nmyflj57x4aact7xy2pee883.jpg-wh_50 "/>
Setting the Display font
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/A7/70/wKioL1nmxZ2z4Vh1AACpPA9OKMQ112.jpg-wh_500x0-wm_ 3-wmp_4-s_4218458138.jpg "style=" Float:none; "title=" Qq20171017203540.jpg "alt=" Wkiol1nmxz2z4vh1aacppa9okmq112.jpg-wh_50 "/>
Set the transfer format, do not select UTF-8 display Chinese will be garbled
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/08/C1/wKiom1nmyFPCnEGrAACsBkeCYtc215.jpg-wh_500x0-wm_ 3-wmp_4-s_1854704800.jpg "style=" Float:none; "title=" Qq20171017203629.jpg "alt=" Wkiom1nmyfpcnegraacsbkecytc215.jpg-wh_50 "/>
Using Xshell to connect and configure key authentication
First step: Download Xshell
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/A7/65/wKioL1nl9J_DfhivAAB_cE-7T_c608.jpg-wh_500x0-wm_ 3-wmp_4-s_3675332234.jpg "title=" qq20171017202341.jpg "alt=" Wkiol1nl9j_dfhivaab_ce-7t_c608.jpg-wh_50 "/>
Step Two: Configure Xshell
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/08/C3/wKiom1nm2WXTCKqyAAD5qKSLKhw452.jpg-wh_500x0-wm_ 3-wmp_4-s_3032241986.jpg "style=" Float:none; "title=" Qq20171018122142.jpg "alt=" Wkiom1nm2wxtckqyaad5qkslkhw452.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/08/C3/wKiom1nm2WaTp_dEAAEJ6VHtKm0466.jpg-wh_500x0-wm_ 3-wmp_4-s_2585035253.jpg "title=" qq20171018122449.jpg "style=" Float:none; "alt=" wkiom1nm2watp_ Deaaej6vhtkm0466.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/A7/72/wKioL1nm1q_AaSzlAAC74i_0Gjo217.jpg-wh_500x0-wm_ 3-wmp_4-s_301738600.jpg "style=" Float:none; "title=" qq20171018122154.jpg "alt=" Wkiol1nm1q_aaszlaac74i_ 0gjo217.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/08/C3/wKiom1nm2WXxfE0cAADScJQ9kdQ198.jpg-wh_500x0-wm_ 3-wmp_4-s_3048674760.jpg "style=" Float:none; "title=" Qq20171018122206.jpg "alt=" Wkiom1nm2wxxfe0caadscjq9kdq198.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/A7/72/wKioL1nm1rGye78xAAD1eRjxIJg911.jpg-wh_500x0-wm_ 3-wmp_4-s_900256953.jpg "style=" Float:none; "title=" connection succeeded. jpg "alt=" wkiol1nm1rgye78xaad1erjxijg911.jpg-wh_50 "/>
The third step is to configure the key:
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/08/C3/wKiom1nm40iR5haVAAEOzd-QZoc313.jpg-wh_500x0-wm_ 3-wmp_4-s_1272243745.jpg "style=" Float:none; "title=" Qq20171018123952.jpg "alt=" Wkiom1nm40ir5havaaeozd-qzoc313.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/08/C3/wKiom1nm40jhTdKYAADcnA_-Jgs503.jpg-wh_500x0-wm_ 3-wmp_4-s_667104586.jpg "style=" Float:none; "title=" qq20171018124005.jpg "alt=" wkiom1nm40jhtdkyaadcna_- Jgs503.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/A7/73/wKioL1nm4JKg-8vdAAEBUc_VQ3Q774.jpg-wh_500x0-wm_ 3-wmp_4-s_506963072.jpg "style=" Float:none; "title=" qq20171018124049.jpg "alt=" wkiol1nm4jkg-8vdaaebuc_ Vq3q774.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/A7/73/wKioL1nm4JLzA5AjAAEUcLwU45Q770.jpg-wh_500x0-wm_ 3-wmp_4-s_2937727602.jpg "style=" Float:none; "title=" Qq20171018124131.jpg "alt=" Wkiol1nm4jlza5ajaaeuclwu45q770.jpg-wh_50 "/>
Using putty to write a public key to a file
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/08/C3/wKiom1nm40miQ8cEAAD0TFJ8K0w786.jpg-wh_500x0-wm_ 3-wmp_4-s_2144636005.jpg "style=" Float:none; "title=" Qq20171018124709.jpg "alt=" Wkiom1nm40miq8ceaad0tfj8k0w786.jpg-wh_50 "/>
Configure local Xshell
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/08/C3/wKiom1nm40mifURRAADfENNwx04502.jpg-wh_500x0-wm_ 3-wmp_4-s_3287194035.jpg "style=" Float:none; "title=" Qq20171018125212.jpg "alt=" Wkiom1nm40mifurraadfennwx04502.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/A7/73/wKioL1nm4JTCp9hJAADsqpF8YEc714.jpg-wh_500x0-wm_ 3-wmp_4-s_295421383.jpg "style=" Float:none; "title=" Qq20171018125254.jpg "alt=" Wkiol1nm4jtcp9hjaadsqpf8yec714.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/A7/73/wKioL1nm4JTwFtr4AADwWkTSG-E332.jpg-wh_500x0-wm_ 3-wmp_4-s_3851610106.jpg "style=" Float:none; "title=" Qq20171018125904.jpg "alt=" Wkiol1nm4jtwftr4aadwwktsg-e332.jpg-wh_50 "/>
Login successful
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/A7/73/wKioL1nm4JTRGUpLAAC1tASg9oY912.jpg-wh_500x0-wm_ 3-wmp_4-s_2159445044.jpg "style=" Float:none; "title=" Qq20171018131409.jpg "alt=" Wkiol1nm4jtrguplaac1tasg9oy912.jpg-wh_50 "/>
Attached: About WMware Tips- take a snapshot
Virtual machines > Snapshots > Take snapshots
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/A7/64/wKioL1nl8gzSh0hZAAEvoOciQ7o864.png-wh_500x0-wm_ 3-wmp_4-s_2288397927.png "title=" 27.png "alt=" Wkiol1nl8gzsh0hzaaevoociq7o864.png-wh_50 "/>
Recovering a Snapshot
Virtual machines > Snapshots > Take snapshots
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/08/B5/wKiom1nl9RjD02jFAACq2VxXAx0665.jpg-wh_500x0-wm_ 3-wmp_4-s_1969120925.jpg "title=" qq20171017201747.jpg "alt=" Wkiom1nl9rjd02jfaacq2vxxax0665.jpg-wh_50 "/>
This article is from the "Serverlooker" blog, make sure to keep this source http://13279218.blog.51cto.com/13269218/1973714
How to connect to Linux remotely using putty and Xshell, and configure key authentication