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
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/