Secure copy (SCP)

This topic provides information about using secure copy (scp).

Overview

Secure copy (scp) provides a file transfer mechanism for secure shell (SSH) to copy files either between two directories on the SAN Volume Controller configuration node, or between the configuration node and another host. You must have appropriate permissions on the source and destination directories on your respective hosts to be able to use scp. Secure copy is available to you when you install an SSH client on your host system.

The scp interface deliberately limits the permissions to the file systems inside the SAN Volume Controller. If you log on as admin, the writable file systems consist of the following:
/tmp
/home/admin/upgrade
/dumps and its subdirectories

If the cluster is inoperative, the configuration interface is not available.

Example

Assume you want to copy a file called svcinfo.trc from the /dumps directory. You want to copy this file from the machine called teststand to your local directory, where you will name the file test.txt.

scp admin@teststand:/dumps/svcinfo.trc test.txt

Output similar to the following is displayed:

svcinfo.trc  	100%|**************| 12909 00:00
Example

Assume you want to copy a file called software_upgrade.pkg from your local directory to the upgrade directory on the machine called teststand. Issue the following command:

scp software_upgrade.pkg admin@teststand:/home/admin/upgrade

Output similar to the following is displayed:

software_upgrade.pkg  	100%|**********************| 12909 00:00

(C) Copyright International Business Machines Corporation 2003, 2004