scp debian code example
Example 1: scp to remote server
scp ./file.txt remote_username@remote_ip:/remote/directory
Example 2: linux scp
scp -r -p chemin/vers/dossier/source user@serveur2:chemin/vers/dossier/destination
scp ./file.txt remote_username@remote_ip:/remote/directory
scp -r -p chemin/vers/dossier/source user@serveur2:chemin/vers/dossier/destination