SCP examples using OpenSSH
These examples show you how to connect with SCP and issue basic commands.
Use these variables during the connection process:
<Username>: When providing the username, the value
must be used. (This is the case for all secure access methods in NetStorage.)
<private key>: Apply your private SSH key for this upload account.
<Domain Name Prefix>: This value followed by
.scp.upload.akamai.comrepresents your full Upload Domain Name. You set up your domain name during creation of the target storage group.
scp [-1234BCpqrv] [-c <cipher>] [-F <ssh_config>] [-i <identity_file>] [-l <limit>] [-o <ssh_option>] [-P <port>] [-S <program>][[user@]host1:] file1[...] [[user@]host2:]file72
<local_file>file you want to upload before the
user@upload_domainvariable. The destination path is appended to the
user@upload_domain, separated by a colon. For example:
scp -i <private key> <local_file> firstname.lastname@example.org:<remote path>
|Command description||Command and output|
|Example OpenSSH SCP connection||
a local file to the remote
This example sends the local
|Recursively upload a local directory to a remote
This example recursively sends content from the local