Skip to content

scp (secure copy)

Published On:
Apr 26, 2017
Last Updated:
Apr 26, 2017

scp (secure copy) is a UNIX command-line program.

Copy File From Local To Remote

Terminal window
$ scp ~/myfile.txt [email protected]:~/

Copy Directory From Local To Remote

Terminal window
$ scp -r ~/myfolder username@ip_address:~/folder_on_remote
Terminal window
$ scp -r ~/myfolder username@ip_address:~/folder_on_remote