ssh

SSH

Secure Shell

Posted by LXG on April 9, 2021

www.ssh.com

图解SSH原理-简书

The SSH protocol

The SSH protocol uses encryption to secure the connection between a client and a server. All user authentication, commands, output, and file transfers are encrypted to protect against attacks in the network. For details of how the SSH protocol works, see the protocol page. To understand the SSH File Transfer Protocol, see the SFTP page.

ssh_protocol

ssh

ssh lxg@192.168.1.30

scp

remote download: scp -r lxg@192.168.1.30:/home/lxg/ .

remote upload: scp -r localfile lxg@192.168.1.30:/home/lxg/