Moving files to/from the cluster

Requirements

Find more information on the different types of directories here.

Standard Terminal

In a local terminal the following commands can be used to;

Move a file from your local machine to Mahuika.

scp <path/filename> mahuika:<path/filename>

Move a file from Mahuika to your local machine.

scp mahuika:<path/filename> <path/filename>

Note

  • This will only work if you have set up aliases as described in Terminal Setup.
  • As the terms 'maui' and 'mahuika' are defined locally, the above commands only works when using a local terminal (i.e. not on Mahuika).

scp stands for Secure CoPy and operates in a similar way to regular cp with the source file as the left term and destination on the right.

These commands make use of multiplexing, this means that if you already have a connection to the cluster you will not be prompted for your password.

MobaXterm

Clicking the "Scp" tab (located on the left-hand side of the MobaXTerm window) opens up a graphical user interface that can be used for basic file operations. You can drag and drop files in the file explorer or use the up and down arrows on the toolbar to upload and download files.

2019-01-07_SCP_in_MobaXTerm.png

WinSCP

As WinSCP uses multiple tunnels for file transfer you will be required to authenticate again on your first file operation of the session. The second prompt for your 2FA can be skipped, just the same as with login authentication.

 

 

 

 

Was this article helpful?
0 out of 0 found this helpful