scp linux ssh code example
Example 1: scp with ssh key
scp -i ~/.ssh/id_rsa.pub FILENAME USER@SERVER:/home/USER/FILENAME
Example 2: scp to remote server
scp ./file.txt remote_username@remote_ip:/remote/directory
Example 3: linux scp
scp -r -p chemin/vers/dossier/source user@serveur2:chemin/vers/dossier/destination