scp¶
The following operations can be performed on "scp":
scp¶
Securely copies data from one computer to another, in SSH protocol.
Synopsys¶
scp [-r] [-C] [-q] <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 [email protected]:/nsconfig/