What are the functions of the ssh service-login to remote hosts, sftp, and backup of files in different places-linux operation and maintenance
Today, I will introduce several applications of ssh to you. Common applications include using ssh to connect to remote servers, using sftp to transfer files, and using ssh to perform remote backup. Connect to remote host Connect to a remote server This is our most commonly used function, connect to a remote server, and then manage the server. If your client is windows, then you need to install terminal tools, such as xshell, Terminator, Tmux, etc., and then use these terminal tools to connect to the remote server. If the client is Linux, you can use the ssh command directly. Common command usage is given below Connect to remote host ssh [account@]IP [- p specified port] Do not log in, directly send a command to the remote server to execute the ssh -f [account@]IP [-p specified port] command Let’s demonstrate the remote connection server # ssh 121.196.12.64 The authenticity of host '121.196.12.64 (121.196.12.64)' can't be established. ECDSA key fingerprint is SHA256:wx0RHE8fcCoad6YKw0Ex4NE+QjwRiTYxC2s2g/DqPUU. ECDSA key fingerprint is MD5:43:2c:7a:12:24:1d:86:3a:b0:a0:b7:95:c2:cf:7b:ab. Are you sure you want to continue connecting (yes/no)? When connecting for the first time, you will be asked if you want to continue connecting, enter yes here. After entering yes, you will be…