Data Transfer – PERUN Supercomputer¶
1. Introduction¶
You can transfer files to and from the PERUN supercomputer using:
- Terminal-based tools:
scp,rsync,sftp - Graphical applications: MobaXterm, WinSCP (Windows)
All commands must be executed from your local computer, not from PERUN.
2. Using scp (Secure Copy)¶
scp allows you to securely copy files between your computer and PERUN.
2.1 Basic Syntax¶
2.2 Transfer from Local → PERUN¶
Example – Upload a Folder to PERUN
2.3 Transfer from PERUN → Local¶
Example – Download a File from PERUN
Example – Download a Directory from PERUN
3. Using rsync for Efficient Transfers¶
rsync is recommended for large or frequently updated data. It transfers only changed parts of files.
3.1 Basic Syntax¶
3.2 Transfer from Local → PERUN¶
Example – Upload a File with Progress
Example – Upload a Directory
3.3 Transfer from PERUN → Local¶
Example – Download a File
Example – Download a Folder
3.4 Useful rsync Options¶
-a– archive mode (preserves permissions and structure)-v– verbose output-h– human-readable formatting--progress– show progress information-z– compression during transfer
4. Using sftp (Secure File Transfer Protocol)¶
sftp provides an interactive shell for browsing and transferring files securely.
4.1 Start an Interactive Session¶
4.2 Download a File from PERUN¶
Example – Download a File with SFTP
4.3 Batch (Automated) Transfers¶
Example – Automated SFTP Upload
batchfile:
Run with:5. Using a Non‑Default SSH Key¶
If your SSH key is stored outside the default ~/.ssh/ directory, specify it manually:
Example – Specify a Custom SSH Key
Keep your private key secure at all times.