Transferring data

There are several ways to transfer data from and to Octopus. The following is a subset and an incomplete list of methods and tools:

scp

https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=apple&logoColor=white

transfer/copy files from the local machine to ~/ on octopus:

scp -rp my_local_file <user>@octopus.aub.edu.lb:~/

To transfer files from octopus to the local machine rsync is more suitable since the command should be executed on octopus and that requires a connection from octopus to the local machine that is usually no possible unless a ssh tunnel is created. rsync supports this out of the box.

More information on using scp can be found in the official manual.

rsync

https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=apple&logoColor=white

transfer/copy files from the local machine to ~/ on octopus:

rsync -PrlHvtpog my_local_file <user>@octopus.aub.edu.lb:~/

To transfer files from octopus to the local machine:

rsync -PrlHvtpog <user>@octopus.aub.edu.lb:~/my_file .

More information on using rsync can be found in the official manual.

sftp

https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=apple&logoColor=white

sftp is a command line based tool that provides the same functionality as winscp. To establish a secure ftp connection to octopus the following command can be used:

sftp <user>@octopus.aub.edu.lb

Once the connection is established sftp commands such as (get, put) can be used in the sftp prompt to send / receive data (files, folders, … etc).

More information on using rsync can be found in the official manual.

winscp

https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white

Winscp is a graphical user interface that can be used to transfer files back and forth among the local machine and the HPC cluster. It is a free tool that can be downloaded from the here. The follwing tutorial is a good reference on how to use it.

cyberduck

https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=apple&logoColor=white

Cyberduck is a graphical user interface that can be used to transfer files back and forth among the local machine and the HPC cluster. It is a free tool that can be downloaded from the here. The follwing tutorial is a good reference on how to use it. There are many other tutorials too, feel free to explore.

filezilla

https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=apple&logoColor=white

Filezilla is a graphical user interface that can be used to transfer files back and forth among the local machine and the HPC cluster. It is a free tool that can be downloaded from the here.

mobaxterm

https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white

Mobaxterm is a graphical user interface that can be used to transfer files back and forth among the local machine and the HPC cluster. It can be used to do various other secure connections such as a secure shell but it can be also used for the sole purpose of file transfers. It is a free tool that can be downloaded from here.