Scp

Transfert file over scp

Basics (no ssh key)
#Remote to local
$scp remote_user@remote_host:/path/to/remote/file /path/to/local/file

#Local to remote
$scp /path/to/local/file remote_user@remote_host:/path/to/remote/file

Basics (with ssh key)

$scp -r -i YOUR_certificat.priv root@172.16.0.xxx:/SOURCE/* /DESTINATION/

Date : 2020.10.13