|
Purpose: This document describes how to use the Putty scp client
which comes with the HPCMP Kerberos kit. The Putty kit comes with command line scp
and sftp clients. By
default these tools are installed in C:\Program Files\HPCMP\PuTTY with the
HPCMP Kerberos kit. (Standalone versions of Putty will undoubtedly
install these files in another location, so these instructions will not be
valid for those versions of Putty.)
- Open a Windows 'Command Prompt'. On Windows XP this can be done
by selecting
Start | Programs | Accessories | Command Prompt or
by selecting Start | Run and entering cmd in
the Run dialog box.

- Switch to the directory which contains the files that you wish to
upload using scp. If the files were in the My Documents folder you
would use the following.
C:\Documents and Settings\default>cd "My Documents"
C:\Documents and Settings\default\My Documents>
- Get a ticket with
krb5. You can
technically do this at any time prior to issuing the scp command.

- Issue the scp command. You will need to specify the full path to
pscp.exe unless the Putty directory is in your PATH.
The following will copy all files .cpp files from My Documents to
username's account on iceberg.
C:\Documents and Settings\default\My Documents>"C:\Program
Files\HPCMP\PuTTY\pscp.exe" *.cpp "username@iceberg.arsc.edu:/u1/uaf/username/"
Enabling GSSAPI authentication.
Using 256 bit AES encryption
somefile_test.cpp | 0 kB | 0.0 kB/s | ETA: 00:00:00 | 100%
C:\Documents and Settings\default\My Documents>
The scp client allows wildcarding and recursive copying, both of which
can be quite useful. Issuing the pscp command alone will list available
options.
|