Transferring Files
You can transfer files from your PC to the cluster and vice-versa via the scp command available in the terminal on all OS (for Windows versions older than W10, use PuTTY/WinSCP).
Info
The commands below should be executed on the local machine, regardless of the direction of the data transfer.
From Local to Remote
To transfer a file such as example.py from your computer to the cluster, you can type:
In order to transfer a whole directory, use the -r flag.
From Remote to Local
Now, to copy files from Deucalion or MN5 to your local machine, you can open a terminal and type:
In order to transfer a whole directory, use the -r flag.
WinSCP
Windows users can use WinSCP to manage file transfers in a user friendly interface.
- Open WinSCP
- In the File Protocol field, select SCP
- In the Host name field, specify the hostname
- Deucalion: login.deucalion.macc.fccn.pt
- MN5: transfer1.bsc.es
- In the User name field, specify your username
- Click on Advanced, then navigate to the SSH > Authentication tab. In the Authentication parameters section, locate and select your private SSH key file.
- Note: If your key is not in the required .ppk format, the application will prompt you to convert it automatically
- Click on Ok to close the Advanced window
- Click on Login to establish the connection