Getting data to and from the cluster

You can transfer files to and from the cluster using e.g SFTP, scp and rsync (basically any method that runs on top of SSH logins).

In the examples below, the triolith.nsc.liu.se login node in the Triolith cluster is used. If you are running on another cluster, substitute the appropriate login node name for that cluster in the commands.

scp

scp is a simple tool that is useful for copying a single of a few files to or from a remote system. Example - copy a local file named local-file to your home directory on Triolith:

$ scp local-file username@triolith.nsc.liu.se:

Example - copy a file from Triolith back to the local computer (where it will end up in the current directory under the same name as on Triolith):

$ scp username@triolith.nsc.liu.se:triolith-file .

sftp

sftp is an interactive file transfer program, similar to ftp (but running on top of SSH). Example:

$ sftp username@triolith.nsc.liu.se:testdir
Connecting to triolith.nsc.liu.se...
Changing to: /home/username/testdir
sftp> ls
file-1  file-2
sftp> get file-2
Fetching /home/username/testdir/file-2 to file-2

There are also graphical SFTP clients available.

rsync

rsync is a file copying tool that can be used both locally and over the network. Its main advantage over scp and sftp is that is handles copying of whole directory trees well, and that rsync transfers can easily be restarted without having to re-transfer data. Example - copy the directory tree named local-tree to Triolith:

$ rsync -av local-tree username@triolith.nsc.liu.se:

Swestore

If you need to transfer data to/from SweStore, please read the SNIC knowledge base docs.

Windows clients

There are several Windows applications that implements the scp, sftp and rsync protocols. E.g PuTTY and Filezilla.