当前位置:网站首页>3. Remote connection and SSH
3. Remote connection and SSH
2022-07-22 21:12:00 【Hehe 1112】
First, configure the virtual machine network , And then through ip addr
The command can get IP Address .
ssh agreement :
SSH Express Secure SHell Abbreviation . Means safe Shell.shell It's English “ shell ” It means . adopt SSH agreement , The information transmitted between the two machines will be encrypted , This ensures the security of transmission information .
Symmetric and asymmetric encryption SSH agreement
Symmetric encryption : Symmetric encryption uses a key to encrypt and decrypt . The drawback is that the key must be passed carefully
Asymmetric encryption : Encrypt with one key and decrypt with another key . One is the public key , Is used to encrypt ; One is the private key used for decryption . The most famous belongs to RSA Algorithm .
SSH Combine asymmetric encryption and symmetric encryption to build a secure access pipeline :
- First use asymmetric encryption , Secure transmission of symmetric encrypted keys
- Since then, symmetric encryption has been used as a means of encryption and decryption
Because asymmetric encryption consumes too much resources , Therefore, asymmetric encryption is first used between the two computers Exchange symmetric encryption keys , Then we can use symmetric encryption to communicate faster . Because the key of symmetric encryption is transmitted using asymmetric encryption , It has never appeared in clear text on the network , Therefore, the security of the key is guaranteed .
SSH actual combat
OpenSSH
OpenSHH yes SSH Free and open source implementation of the protocol , It is divided into server and client . If you need to be a server , Then you need to install openssh-server, If it is a client, it is openssh-client.
Server installation SSH service
install SSH service yum install openssh-server
start-up SSHsystemctl start( or restart) sshd
Set the power on to run SSHsystemctl enable sshd
SSH client :
Linux System :openssh-clint , Connection command ssh Server user name @ Server address
for example [email protected]
Window System :xshell etc.
边栏推荐
- 微信小程序入门教程学习笔记——UI篇之布局基础
- 条件判断.
- [lttng learning journey] ----- core concepts
- Desensitization of mobile phone, name and ID card information in the project in the log and response data
- Use VBScript on xshell and CRT to connect and locate servers, directories and databases more efficiently
- RPM包管理—YUM在线管理-IP地址配置和网络YUM源
- JUC-6.2-并发容器-CopyOnWriteArrayList
- Buuctf breakthrough diary 04 -- [actf2020 freshman competition]include1
- Bash基本功能—别名与快捷键
- ThreadLocal encountered data problems in thread pool and Solutions
猜你喜欢
第八章:自定义异常返回
JUC-6.2-并发容器-CopyOnWriteArrayList
Multithreading 04 -- visibility of threads
[LTTng学习之旅]------环境搭建
4.文本编辑器
Buuctf breakthrough diary -- [ciscn2019 North China division Day2 web1]hack world
Wechat applet cannot read property'setdata'of null error
[LTTng学习之旅]------core concepts 拾遗
微信小程序Cannot read property 'setData' of null錯誤
Chapter 8: custom exception return
随机推荐
JUC-7.2-线程协作-Condition
[lttng learning journey] - simply add a trace point to the user program
Using MySQL database in Django
使用简单的js实现圆弧布局
Solve the problems that tracepass website cannot be opened and stackoverflow is not fully displayed
流程控制.
JVM principle and performance tuning
Using openresty as the gateway to authenticate and access static resources
How many holes are there in string split operation
Bash变量--环境变量
流程控制—if语句
Multithreading 02 -- sequential execution and stop of threads
6.管理服务器和服务
[LTTng学习之旅]------LTTng的Feature
Multithreading 08 -- blocking queue
BUUCTF闯关日记--[MRCTF2020]你传你呢(超详解)
Buuctf breakthrough diary --[mrctf2020]ez_ bypass1
微信小程序入门教程学习笔记
[LTTng学习之旅]------Trace View初探
第四章:minio的presigned URLs上传文件