linux scp

Shell
scp ./file.txt remote_username@remote_ip:/remote/directoryscp -r -p chemin/vers/dossier/source user@serveur2:chemin/vers/dossier/destination
Source

Also in Shell: