Salin file "foobar.txt" dari host jarak jauh ke host lokal:
$ scp your_username@remotehost.edu:foobar.txt /some/local/directory
Salin file "foobar.txt" dari host lokal ke host jarak jauh:
$ scp foobar.txt your_username@remotehost.edu:/some/remote/directory
Salin direktori "foo" dari host lokal ke "bar" direktori host remote:
$ scp -r foo your_username@remotehost.edu:/some/remote/directory/bar
Salin file "foobar.txt" dari remote host "rh1.edu" ke host jarak jauh "rh2.edu":
$ scp your_username@rh1.edu:/some/remote/directory/foobar.txt your_username@rh2.edu:/some/remote/directory/
Menyalin file "foo.txt" dan "bar.txt" dari host lokal ke direktori home Anda pada host jarak jauh:
$ scp foo.txt bar.txt your_username@remotehost.edu:~
Salin file "foobar.txt" dari host lokal ke host remote menggunakan port 2264:
$ scp -P 2264 foobar.txt your_username@remotehost.edu:/some/remote/directory
Salin beberapa file dari host jarak jauh ke direktori Anda saat ini di host lokal:
$ scp your_username@remotehost.edu:/some/remote/directory/\{a,b,c\} .
$ scp your_username@remotehost.edu:~/\{foo.txt,bar.txt\} .
Untuk Informasi Lebih Lanjut: Salin Aman