scp

Last published : Oct 30, 2026
The following operations can be performed on "scp":

scp

Securely copies data from one computer to another, in SSH protocol.

Synopsis

scp <sourceString> <destString>

Arguments

r Recursively copy subdirectories.
C Enable compression.
q Quiet output. Disable the progress meter.
sourceString Source user, host, and file path, specified as <user>@<host>:<path_to_copy_from>. The user and host parts are optional.
destString Destination user, host, and file path, specified as <user>@<host>:<path_to_copy_to>. The user and host parts are optional.

Example

scp /nsconfig/ns.conf nsroot@10.102.4.107:/nsconfig/