Skip to content

Chapter 2: The keys to the castle (access & security)

When you have your LUMI project, account and computational resources ("compute") from Chapter 1, it is time to actually step inside. Unlike logging into a website with a username and password, supercomputers use a much more secure "handshake" method called SSH Keys.

If this sounds like secret agent territory, don't worry - it is simply a more robust way to prove who you are without sending a password over the internet where it could be intercepted.

What are SSH Keys? (The lock and the key)

Think of an SSH Key Pair like a physical lock and its matching key, but digital:

  • The Private Key (Your key): This stays on your laptop. You should never share it, email it, or move it. It is your digital identity.
  • The Public Key (The lock): You upload this to the LUMI user portal. It acts as a "lock" that only your specific Private Key can open.

Step 1: Generating your keys

Before you can log in, you need to create this "Key and Lock" pair on your own computer. This process is quick and usually involves typing one command into your computer's Terminal (Windows users need to open "Windows PowerShell").

Before you generate your keys and follow the official guide, please read these important rules and details:

  • Unique keys: You will be using the ed25519 encryption algorithm. Both your Public and Private keys are completely unique to you. The file name is usually just ed25519, but the actual content of the files is unique to you.
  • File extensions: The Public Key file name always ends in .pub, but the Private Key file name has no extension at all. You will need to know this when providing paths later.
  • Finding the paths: The exact path where your keys are saved will be written on the screen during generation. There is no need to actually open and look inside either of these files.
  • Strong passphrase: When the guide asks you for a "passphrase," choose something you can remember. This adds a second layer of security: even if someone stole your laptop, they couldn't use your Key without that phrase.
  • The silent passphrase: When you are asked for your passphrase in the Terminal, you won't see any characters appear as you type (not even stars). This is a normal security feature so that people who see your screen can't know even the number of characters in your passphrase. Just type your phrase and hit Enter!
  • Multiple devices: If you use multiple computers (e.g., a laptop and a desktop), generate a new, separate Key Pair on each device. Uploading multiple Public Keys to the LUMI portal simply gives each device its own independent access - any of them will log you into the exact same LUMI account.

The exact command and steps vary slightly depending on whether you are using Windows, macOS, or Linux. Make sure to select the "From a terminal (all OS)" tab in the guide below, even if you are on Windows.

Follow the Official guide to create and upload your SSH Keys

Make sure that you have uploaded your Public Key to the correct portal as described in the guide before you proceed. Once uploaded, keep in mind that it might take a few hours for your public key to be registered on LUMI. Until then, attempting to log in might result in a Permission denied (Public Key) error.

Step 2: Logging into LUMI

Once your "Lock" (Public Key) is uploaded to the portal, you are ready to enter the "Lobby" of the supercomputer. We do this by "SSHing" into the system.

Option A: The classic way (Terminal)

This is how AI developers typically work. You open your Terminal and type a command to "enter" LUMI. Once the connection is established, your Terminal window is no longer talking to your laptop; it is talking directly to LUMI.

How to Log In via Terminal for the first time (SSH Client)

To connect to LUMI, type the following command into your Terminal and hit enter:

If you prefer to copy and paste commands from this guide rather than typing them out, keep in mind that standard pasting shortcuts might not work in your Terminal:

  • Windows / Linux: Try Ctrl+Shift+V (or right-clicking) instead of the usual Ctrl+V.
  • Mac: Standard Cmd+V usually works.

Don't Panic: The First-Time Warning

When you connect for the first time, you will be asked to check the host Key fingerprint of the system and need to type yes in order to accept it. Before you do, please make sure that the fingerprint shown in your Terminal matches one of the up-to-date fingerprints of the LUMI Login Nodes listed in the official login documentation.

Where is my username and where do I upload my Key?

Because LUMI is a pan-European consortium, your account and Public Key are managed by the specific portal you used to gain access. This depends on where your project resources were granted from, rather than your nationality:

  • Projects granted via CSC (Finland): You upload your SSH Key and manage your account in your MyCSC user profile. You can also find your 8-character username (e.g., smithmar) by logging into MyLUMI.
  • Projects granted via EuroHPC: You manage your access through the EuroHPC Federation Platform (EFP). You can find detailed instructions for uploading your SSH Key in the EuroHPC AAI documentation.
  • Projects granted via other Consortium countries: Most other consortium countries manage their access and SSH Keys through the Puhuri portal.
  • Unsure where to go? Please refer to the official Access to LUMI guide to find the correct portal for your specific country or organisation.

This illustrates what happens if you've successfully logged into LUMI:

Option B: The web interface (browser-based)

If you are on a restricted work laptop where you cannot configure SSH, or if you just want a more familiar visual environment to start, LUMI offers a web-based portal. This includes a "Web Terminal" that runs directly in your browser. It behaves the same as the SSH Terminal for all subsequent chapters.

Accessing LUMI via the Web Interface

Once you have logged into the web interface, click on the Login Node Shell button to open the Command Line directly in your browser.

Staying secure

As an industry partner, your code and data are your most valuable assets. To keep them safe:

  • Never share your Private Key. With anyone.
  • Use a passphrase. It's the "password" for your digital key.
  • One Key per Device. If you work from both a desktop and a laptop, generate a new Key Pair on each device and upload each Public Key to the portal.
  • If a device is lost or compromised, you should remove its Public Key from the portal.

Summary checklist

  • You have generated an SSH Key Pair on your computer.
  • You have uploaded your Public Key to the LUMI user portal.
  • You have successfully logged in and saw the "LUMI" welcome text in your Terminal.

Knowledge check

Chapter 2 Quiz
Question 1 of 3

What is the difference between your Private Key and your Public Key?

© 2026 LUMI AI FactoryContent licensed under CC BY 4.0Code licensed under the MIT Licence

The LUMI AI Factory Service Center is funded jointly by the EuroHPC Joint Undertaking and the Participating States FI, CZ, DK, EE, NO, PL.