About SSH
SSH service is for remote Linux host operation, default service port is 22
Usage: SSH [parameter] host IP
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/99/9A/wKiom1lKITbR3xWfAAAUauDHQ2U163.png "/>
Systemctl Enable sshd Boot
Systemctl start sshd start SSH service
/etc/ssh/sshd_config is the configuration file for the SSH service
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/99/9A/wKiom1lKITjCtcAzAAAhuNrWICM819.png "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/99/9B/wKioL1lKITiBNv7gAABCs0lKPJ4278.png "/>
Transferring files remotely
SCP commands can transfer files from one host to another host
Usage SCP [parameter] file address Host account @ Host IP: Transfer directory
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/99/9A/wKiom1lKITij1L6AAAAgzHN_Vtg117.png "/>
Enter the command, you will need the other host's account password
Alternatively, you can transfer files from the remote host to a local
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/99/9A/wKiom1lKITmwa1dOAACNQdYObAM503.png "/>
Screen Service (uninterrupted session service)
The system is not self-brought and needs to be installed first.
Screen Common parameters
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/99/9B/wKioL1lKITnydogXAAA7szUx2_U118.png "/>
Cases:
Create a session and specify the name, Test1
Screen S test1
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/99/9A/wKiom1lKITqi0B_kAAALnAY5kAE157.png "/>
Then create a session and specify the name: Test2
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/99/9B/wKioL1lKITryt5s0AAAIiZxG5LY002.png "/>
Take Test1 offline (detached offline status)
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/99/9B/wKioL1lKITrRptAoAAAJzVNIKqI744.png "/>
Session sharing features
Two terminals can use one session simultaneously under the same system
Terminal A:screen S test1 (Create a session)
Terminal B:screen x (shared Test1)
Two terminals are modified in real time, and Terminal B synchronizes in real time when terminal A is input
This article is from "Deast's Nest" blog, please make sure to keep this source http://xudongdong.blog.51cto.com/1889083/1940601
Linux learning (that's what Linux should learn) 7.2