--- title: "Key Based SSH Authentication" id: "key-based-ssh-authentication" project: "SC//Connect™ Link Balancer | OS Upgrade Guide" url: "https://docs.scalecomputing.com/articles/elfiq-os-upgrade-guide-publication/key-based-ssh-authentication" updated: 2026-11-04T18:30:36Z --- # Key Based SSH Authentication # **Key-Based SSH Authentication** * * * Beginning with EOS v4.5, owing to security concerns, SSH username/password logins are no longer permitted; instead, access is granted only through SSH key-based authentication. This guide provides step-by-step instructions to configure SSH access to an ELFIQ Link Balancer using PuTTY on Windows. The following procedures are covered: * Generating an SSH key pair * Uploading the public key to the ELFIQ appliance * Configuring PuTTY for seamless, passwordless login ## **To generate an SSH Key with PuTTYgen** 1. Open **PuTTYgen** (included with PuTTY installation). 2. In the **Parameters** section, select **RSA** as the key type and set the key length to **4096 bits**. 3. Click **Generate** and move your mouse in the blank area to create randomness. 4. Once the key is generated: * Copy the **public key** from the top of PuTTYgen. This is the key you will use in ELFIQ. * Click **Save Private Key** and store it safely on your PC (e.g., id\_rsa.ppk). * Click **Save Public Key** to store a copy, but always use the one displayed in PuTTYgen when adding to ELFIQ. ![](/resources/Storage/elfiq-os-upgrade-guide-publication/key-based-ssh-authentication/key-based-ssh-authentication-2026-04-01.png) ## **To add the SSH Key to ELFIQ** 1. Connect to the ELFIQ console. Log-in and then go to the**ena** **,** then **syst**mode. 2. Run the following command to add your key: **username key mgmt ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA7xL... bob@mylaptop** 3. In the command provided in step 2, make the following changes: * **mgmt** → your ELFIQ username * **rasa** → the key type (must match the one generated in PuTTYgen, which is rsa) * **AAAAB3NzaC1yc2EAAAABIwAAAQEA7xL...** → Your actual public key copied from PuTTYgen. (Please do not use the saved .pub file, but the one displayed in PuTTYgen.) * **bob@mylaptop** → Identifier. ## **To configure PuTTY for SSH access** 1. Open PuTTY. 1. Launch PuTTY on a Windows machine. 2. Enter the ELFIQ device IP. 1. In the **Host Name (or IP address)** field, enter the IP address of the ELFIQ device. 2. Ensure the **Port** is set to 22 (default SSH port). 3. Specify the private key for authentication. 1. In the left side menu, expand **Connections > SSH**. 2. Click **Auth**. 3. In the private key file for authentication, click **Browse** **...** 4. Select the private key file (id\_rsa.ppk) that was saved from PuTTYgen. 4. Optional but recommended: Set the Auto-login Username. 1. In the left side menu, go to **Connections > Data**. 2. Under **Auto-login Username**, enter the **ELFIQ username** (ex, mgmt). 5. Recommended: Save the session. 1. Go back to the **Session** Category (top of the left side menu). 2. In the **Saved Sessions** field, enter a name (ex, ELFIQ SSH). 3. Click **Save** to avoid reentering the details next time. 6. Open the SSH connection. 1. Click **Open** to start the SSH session. 2. If the configuration is correct, you should be able to log in without entering a password.