当前位置:网站首页>Introduction and use of finalshell
Introduction and use of finalshell
2022-07-20 05:55:00 【Awning cute】
List of articles
Previous section : Regular use of virtual machines + snapshot
SSH agreement
- SSH by Secure Shell Abbreviation , It's a network security protocol , A protocol designed to provide security for remote login sessions and other network services .
- stay Linux in ,SSH Its main uses are : User encryption to achieve remote login 、 Password free login between servers .
- SSH By default, the protocol adopts RSA The algorithm realizes asymmetric encryption , You need two keys : public key (public key: Public key ) And private key (private key: Private key for short ).
- Public key and private key are a pair , If you encrypt data with a public key , Only the corresponding private key can be used to decrypt .
SSH Encryption to achieve remote login
- In the enterprise ,Linux The server is usually located in a remote computer room , It is inconvenient for users to operate directly in the machine room ;
- You can use support SSH Protocol Software , Access the server through remote login operation , also SSH The protocol can encrypt the transmitted content .
Preparation before connection
- To configure windows Upper hosts The mapping file , In this way, you can use the host name to access 3 Virtual machines
- hosts File path :C:\Windows\System32\drivers\etc\hosts
- Once configured , Sure win+r, Input cmd Go to the command line , Use ping Test whether the command is effective .
To configure hosts file
To configure hosts file
Add the following lines hosts File and save
192.168.88.151 node1 node1.itcast.cn
192.168.88.152 node2 node2.itcast.cn
192.168.88.153 node3 node3.itcast.cn
Be careful :
If prompt :
The click hosts file , Right click Properties
Operate as shown in the figure , Then modify the file , After modification, you can adjust or not adjust the settings back to the original shape
Test whether the configuration is effective
Open Command Prompt , Enter the following , Check in turn
Possible problems :
Reprint :ping The reply failed to access the target host
FinalShell Connect Linux
- Connection manager –> newly added SSH Connect (Linux)
- add to node1.itcast.cn Related information
- Configure in sequence node1,node2,node3
- double-click node1, Select accept and save the public key given by the server , Easy for subsequent login
- double-click node2,node3, Same as node1
FinalShell The page layout
边栏推荐
- visual studio西红柿插件过期解决办法——不断恢复试用
- LeetCode刷题回顾(题目编号:94、17、面试题17、102、215、1、21)
- 互联网大厂智能座舱斗法
- "Introduction to interface testing" punch in learning day03: understand the key logic of interface testing
- etcdv3实战(三)-PrevKV说明及相关操作
- Online random coin tossing positive and negative statistical tool
- Intelligent cockpit fighting method of Internet manufacturers
- Online XML to JSON tool
- Note -「数论 定理及结论整合」
- 洛谷P1792 [国家集训队]种树 题解
猜你喜欢
随机推荐
They gathered at the 2022 ecug con just for "China's technological power"
Specify the installation source of PIP install
Interface testing -- custom assertion settings
About extern declaration & definition
Sword finger offer 42: the maximum sum of continuous subarrays
LeetCode刷题回顾(题目编号:94、17、面试题17、102、215、1、21)
某翻译js逆向,调用栈简单用法
js的【可选链】,【空值合并运算符】,【空值赋值运算符】用法和含义
Microservice architecture | message queue - [common pit] TBC
get token failed, com.huawei.hms.common.ApiException: 907135702: certificate fingerprint empty
Free composition software for novice Xiaobai FL studio20 Chinese version
Intelligent cockpit fighting method of Internet manufacturers
JS regular expression, matching the contents in parentheses (excluding parentheses)
etcdv3实战(三)-PrevKV说明及相关操作
Security researchers found malware targeting industrial operators
夏日不眠夜
2. ES6 新特性
图像缩放工具
洛谷P1792 [国家集训队]种树 题解
基于ABP实现DDD--仓储实践