Beginner tutorial: uploading your data to HRIA
This guide takes you step by step from nothing to your first uploaded file. You don't need to know anything about SSH or the terminal. It takes about 15 minutes the first time.
If you have used SSH and rsync before, the short version is enough: upload.hria.uvt.ro (in Romanian).
What you will do, in short
- Create a key: a file that identifies you, instead of a password.
- Tell the HRIA server which key is yours, on https://upload.hria.uvt.ro.
- Connect with a file transfer program and drag your files there.
Steps 1 and 2 are done once per computer. After that, only step 3 remains.
The portal itself is in Romanian. This guide gives the button names as they appear on the page, with the English meaning next to them.
A few words you will meet
| Word | What it means |
|---|---|
| SSH key | A pair of two files that belong together: a private one and a public one. |
| Private key | The file that stays only on your computer. You never send it to anyone. |
| Public key | The file you give to the server. It is not a secret. It usually ends in .pub. |
| Terminal | The window where you type commands. On Windows it is called PowerShell. |
| SFTP | The usual way of copying files over SSH. It also works with graphical programs. |
| rsync | A terminal copy program, good for very large data. |
| Your username | The part of your email address before the @. For ion.popescu@e-uvt.ro it is ion.popescu. |
Connection details
You will use these in several places in the tutorial:
| Server address | upload.hria.uvt.ro |
| Port for SFTP | 22 |
| Port for rsync | 2223 |
| Username | the part of your email before the @ (also shown in the portal after you sign in) |
| Password | there is none; you connect with your key only |
After connecting you see two folders:
| Folder | Where it appears in Run:ai | Who can see it |
|---|---|---|
home |
/hria/home/<your username>/ |
only you |
datasets |
/hria/shared/datasets/ |
all HRIA users |
In datasets, first create a folder with your name in it (for example ion.popescu_images) and put
your data inside.
Step 1: create a key
Pick the section for your system. If you already have an SSH key that you use, skip to step 2.
Windows, with a graphical program (recommended for beginners)
You will use two free programs that install together: WinSCP (file transfer) and PuTTYgen (key creation).
- Download WinSCP from https://winscp.net and install it with the default options.
- Open the Start menu, type
PuTTYgenand start it. - At the bottom, for the key type, choose EdDSA (Ed25519).
- Click Generate and move the mouse around inside the window until the bar fills up.
- In Key passphrase, type a password for the key and repeat it in the field below. This password protects the key if someone copies the file. You will type it every time you connect.
- Click Save private key and save the file somewhere you will remember, for example
Documents\hria-key.ppk. This is your private key. - At the top of the window there is a box with text starting with
ssh-ed25519. Select all the text in it and copy it (Ctrl+C). This is your public key. Keep the window open until you finish step 2.
Button names may differ slightly between versions.
Windows, from the terminal
- Open the Start menu, type
PowerShelland start it. - Type the command below, with your own email address, and press Enter:
ssh-keygen -t ed25519 -C "ion.popescu@e-uvt.ro" - When asked where to save the key, press Enter (this keeps the default location).
- Type a password for the key and press Enter, then once more. Nothing shows while you type; that is normal.
- Display the public key and copy all of it (a single line starting with
ssh-ed25519):type $env:USERPROFILE\.ssh\id_ed25519.pub
macOS
- Open the Terminal app (Cmd+Space, type
Terminal, Enter). - Type the command, with your own email address, and press Enter:
ssh-keygen -t ed25519 -C "ion.popescu@e-uvt.ro" - When asked where to save the key, press Enter.
- Type a password for the key and press Enter, then once more. Nothing shows while you type; that is normal.
- Copy the public key straight to the clipboard:
pbcopy < ~/.ssh/id_ed25519.pub
Linux
- Open a terminal.
- Type the command, with your own email address, and press Enter:
ssh-keygen -t ed25519 -C "ion.popescu@e-uvt.ro" - When asked where to save the key, press Enter.
- Type a password for the key and press Enter, then once more.
- Display the public key, then select and copy all of it:
cat ~/.ssh/id_ed25519.pub
Step 2: add the public key in the portal
- Open https://upload.hria.uvt.ro in your browser.
- Click Autentificare cu contul Run:ai (Sign in with your Run:ai account) and sign in with the same account you use for Run:ai.
- At the top of the page you see your gateway username (Utilizator gateway). Write it down.
- In the Adaugă o cheie (Add a key) box, paste the public key you copied in step 1 (Ctrl+V or Cmd+V).
- Choose how long it should be valid (Valabilă; the default is 180 days) and click Adaugă cheia (Add the key).
The key appears in the Cheile tale SSH (Your SSH keys) list, with its expiry date. When it expires, repeat step 2 with the same public key or with a new one.
Careful: you paste only the public key into the portal. If the text does not start with ssh-ed25519
(or ssh-rsa), you copied something else.
Step 3: connect and upload your files
The first time you connect, the program shows you a "fingerprint" of the server and asks whether you trust it. The correct fingerprint of the HRIA server is:
SHA256:zsT0JLRzspw0+XmebXEBZ8R6leec7gi6llLsDuMh6z8
If it matches, accept. If it is different, do not connect and tell the administrators.
Windows: WinSCP
- Start WinSCP. The Login window opens.
- Fill in:
- File protocol: SFTP
- Host name:
upload.hria.uvt.ro- Port number:22- User name: your username - Password: leave empty - Click Advanced..., go to SSH → Authentication and, under Private key file, choose the
.ppkfile you saved in step 1. Click OK. - Click Save so you don't have to fill this in again next time, then Login.
- Type the key password when asked.
- Your computer is on the left, the server on the right. Go into
home(ordatasets) and drag files from left to right.
If you created the key in PowerShell, in point 3 choose the id_ed25519 file from the .ssh folder of
your Windows user. WinSCP offers to convert it to its own format; accept.
macOS: Cyberduck
- Download Cyberduck from https://cyberduck.io and install it.
- Click Open Connection.
- In the list at the top, choose SFTP (SSH File Transfer Protocol).
- Fill in:
- Server:
upload.hria.uvt.ro- Port:22- Username: your username - Password: leave empty - SSH Private Key: choose~/.ssh/id_ed25519 - Click Connect and type the key password when asked.
- Go into
home(ordatasets) and drag your files into the window.
Linux (and any other system): FileZilla
- Install FileZilla from your distribution's software manager or from https://filezilla-project.org.
- Open File → Site Manager and click New site.
- Fill in:
- Protocol: SFTP - SSH File Transfer Protocol
- Host:
upload.hria.uvt.ro- Port:22- Logon Type: Key file - User: your username - Key file: choose~/.ssh/id_ed25519 - Click Connect and type the key password when asked.
- Your computer is on the left, the server on the right. Drag files from left to right.
From the terminal, on any system: sftp
In PowerShell (Windows) or Terminal (macOS, Linux), with your username instead of ion.popescu:
sftp -P 22 ion.popescu@upload.hria.uvt.ro
After connecting you get the sftp> prompt. The commands you need:
| Command | What it does |
|---|---|
ls |
shows what is on the server in the current folder |
cd home |
goes into the home folder on the server |
mkdir my-data |
creates a new folder on the server |
put file.zip |
uploads one file |
put -r folder |
uploads a whole folder |
bye |
closes the connection |
For very large data: rsync
If you have tens or hundreds of GB to upload, use rsync. Its advantage: if the connection drops, you run the same command again and it continues from where it stopped, without starting over.
The command, with your username and your folder instead of my-dataset:
rsync -avP -e 'ssh -p 2223' ./my-dataset/ ion.popescu@upload.hria.uvt.ro:home/my-dataset/
What the pieces mean:
- ./my-dataset/ is the folder on your computer;
- home/my-dataset/ is where it ends up on the server;
- -avP copies the whole folder, shows progress and keeps partial files so the transfer can resume.
Getting ready, depending on your system:
- Linux: rsync is usually already installed. If not:
sudo apt install rsync. - macOS: the rsync that ships with the system does not work with the HRIA server. Install the
standard one with Homebrew:
brew install rsync. Then type/opt/homebrew/bin/rsyncinstead ofrsyncin the command above. - Windows: rsync is not available directly. Install WSL (in PowerShell as administrator:
wsl --install, then restart the computer). In the Ubuntu window that appears, create a new key following the Linux steps and add it in the portal as a second key. If that feels like too much, stay with WinSCP: it can also resume an interrupted transfer.
How to check that it worked
Open a workspace in Run:ai and look in:
/hria/home/<your username>/for what you put inhome;/hria/shared/datasets/for what you put indatasets.
The files appear immediately; there is nothing to wait for.
What you cannot do
- You cannot connect with a password, only with a key.
- You cannot open a terminal on the server or run commands there. The server only receives files.
- You cannot leave the two folders,
homeanddatasets.
If something does not work
| What you see | Why, and what to do |
|---|---|
Permission denied (publickey) |
The key is not in the portal, it has expired, or you typed a different username from the one in the portal. Check the key list and the username. |
The program asks for a password for ion.popescu@upload... |
It did not find the private key. Point it to the key file, as in step 3. |
| The portal says "Format invalid" | You pasted something other than the public key, or only part of it. Copy it again, all of it. |
| The portal says "Acces refuzat" (Access denied) | Your account does not yet have a UID assigned in Run:ai. Write to the administrators. |
This service allows sftp connections only |
You tried ssh on port 22. Use sftp or a graphical program. |
Only rsync is allowed on this port |
You used sftp or ssh on port 2223. For SFTP the port is 22. |
invalid rsync-command syntax on macOS |
You are using the system rsync. Install the one from Homebrew. |
| You cannot connect at all any more, after several wrong attempts | Your address has been blocked temporarily, for one hour. Wait, or write to the administrators. |
| You forgot the key password | It cannot be recovered. Create a new key (step 1), add it in the portal and delete the old one from the list. |
A few sensible rules
- The private key stays on your computer. Do not email it and do not paste it into the portal.
- If you lose your laptop or think someone copied your key, sign in to the portal and delete the key from the list.
- Use one key per computer. You can have up to 10 active keys.
- Do not put personal or confidential data in
datasets: all users can see it.
If you get stuck, write to the HRIA administrators and say which step you were on and what message you got.



