scp
SCP on Linux
To transfer file on a Linux or Mac you can for instance use text based scp.
From your local machine to PDC
Standing in a directory on your local computer containing the file localfile you can transfer it to the Private directory in your home directory ~ (here on Ferlin) using the command:
scp ./localfile pdcusername@ferlin.pdc.kth.se:~/Private/
Here pdcusername is your username at PDC. In order for this to work you have to have valid forwardable Kerberos tickets on your local machine and a working ssh setup.
From PDC to your local machine
Standing in a directory on your local computer where you want to put the file pdcfile located in /cfs/klemming/scratch/u/username/ (here at Ellen) you can transfer it using the command:
scp pdcusername@ellen.pdc.kth.se:/cfs/klemming/scratch/u/username/pdcfile .
Here pdcusername is your username at PDC. In order for this to work you have to have valid forwardable Kerberos tickets on your local machine and a working ssh setup.
NOTE : if your .bashrc or other shell configuration files produce ANY output then scp can fail. You can test this with
ssh pdcusrrname@ferlin.pdc.kth.se /bin/true
if this command produces output then you need to fix your shell configuration files so that they do not produce output, or scp will always fail.
SCP on Windows
The commercial software SecureFX offers an scp for Windows that works with Kerberos tickets. Contact PDC in order to get a license for this software. To use SecureFX you first need to install MIT Kerberos and get valid Kerberos tickets. Then you can start the program:

You can then connect to a computer at PDC by writing the name in the box (marked with a red oval in the picture below).



