Using SCP
Secure Copy Protocol (SCP) is a protocol for securely transferring files between a local and a remote host or between two remote hosts. The protocol has certain options that can be displayed on a Linux or UNIX system using the man scp command. One option (-o) can be used to pass secure shell (SSH) options in the format used by the system-wide configuration file, /etc/ssh/ssh_config.
Search the operating system documentation for information about the ssh_config options that are available by default to understand what options are available for your use in the Storwize V7000 Unified environment. Describing those options is beyond the scope of this topic.
To
connect to an Storwize V7000 Unified environment
using SCP, a prerequisite is that an SCP client is installed, available
and functioning properly. Windows clients
do not have an SCP client installed by default, so it must be installed
before this protocol can be used.
Note: SCP clients must use UTF-8
character encoding.
To copy data from the local system to the Storwize V7000 Unified system
by using the SCP protocol, submit the following command:scp local_path/files user:sharename
For
example:[root@h01c001mz ~]# scp /tmp/*
"w2k3dom01\test1"@unified01.w2k3dom01.com:/unified01.w2k3dom01\test1@unified01.w2k3dom01.com's
password:
Note: Provide the domain and
user name in the syntax domain\user to
authenticate against the HTTPS server, which is w2k3dom01\test1 in
this example. Otherwise, the login fails.
When the password
of the corresponding user is entered, the files are copied.