Moving files to and from the cluster


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>


  • 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).
  • If you are using Windows subsystem, the root paths are different as shown by Windows. e.g. C: is located at /mnt/c/

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.

File Managers 

Most file managers can be used to connect to a remote directory simply by typing in the address bar (provided your have an active connection to the cluster and your ssh config file is set up as described here).

For Nautilus (Ubuntu default) just prepend the path you want to connect to with sftp://mahuika. (ctrl + L opens address bar)

This does not work for File Explorer (Windows default)

This does not work for Finder (Mac default)


If your default file manager does not support mounting over sftp, see our documentation on SSHFS.


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.


You may also transfer files as described under 'Standard Terminal' (provided WSL is enabled).


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.





Labels: scp transfer copying download upload mv cp move moving
Was this article helpful?
1 out of 2 found this helpful