PuTTY pscp (or scp) provides a file transfer application for Secure Shell (SSH) to copy
files either between two directories on the configuration node or between the configuration node and
another host.
Before you begin
Note: PuTTY pscp is useful in systems earlier than Microsoft
Windows 10. Windows 10 includes openssh as standard so that scp works in a workstation or power shell
window.
To use the pscp application, you must have the appropriate permissions on the source
and destination directories on your respective hosts.
About this task
The pscp or scp application is available when you have an SSH client on your host
system. You can access the pscp application through a Microsoft
Windows command prompt. For Linux® and Windows 10 users, the scp is part of the openssh packages.
Complete these steps to use the pscp application.
The scp process is similar from step 6.
Procedure
-
Start a PuTTY session.
-
Configure your PuTTY session to access your system.
-
Save your PuTTY configuration session. For example, you can name your saved session
SVCPUTTY.
-
Open a command prompt.
-
Issue this command to set the path environment variable to include the PuTTY
directory:
set path=C:\Program Files\putty;%path%
Where C:\Program Files\putty is the directory where PuTTY is installed.
-
Issue this command to copy the package onto the node where the CLI runs:
pscp -load saved_putty_configuration
directory_software_upgrade_files/software_upgrade_file_name
username@cluster_ip_address:/update
Where
saved_putty_configuration is the name of the PuTTY configuration
session,
directory_software_upgrade_files is the location of the
software
update files,
software_upgrade_file_name is the name of the
software
update file,
username is the
name that you want to use on the system, and
cluster_ip_address is an IP address
of your
clustered system.
Note: Saving the PuTTY configuration session in step
3
and then loading the PuTTY configuration session in step
6
is optional. To copy without loading a PuTTY configuration session, use the following
syntax:
pscp directory_software_upgrade_files/software_upgrade_file_name
username@cluster_ip_address:/update
If there is insufficient space to store the software
update file on the system, the copy process
fails. In this case, complete the following steps:
-
Use pscp to copy data that you want to preserve from the /update directory.
-
Use the following command to delete dump files in the /update directory:
cleardumps -prefix /home/admin/upgrade
-
Repeat step 6.