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
- Open PuTTYgen (included with PuTTY installation).
- In the Parameters section, select RSA as the key type and set the key length to 4096 bits.
- Click Generate and move your mouse in the blank area to create randomness.
- 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.

To add the SSH Key to ELFIQ
- Connect to the ELFIQ console. Log-in and then go to the ena, then syst mode.
- Run the following command to add your key:
username key mgmt ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA7xL... bob@mylaptop - 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
- Open PuTTY.
- Launch PuTTY on a Windows machine.
- Enter the ELFIQ device IP.
- In the Host Name (or IP address) field, enter the IP address of the ELFIQ device.
- Ensure the Port is set to 22 (default SSH port).
- Specify the private key for authentication.
- In the left side menu, expand Connections > SSH.
- Click Auth.
- In the private key file for authentication, click Browse...
- Select the private key file (id_rsa.ppk) that was saved from PuTTYgen.
- Optional but recommended: Set the Auto-login Username.
- In the left side menu, go to Connections > Data.
- Under Auto-login Username, enter the ELFIQ username (ex, mgmt).
- Recommended: Save the session.
- Go back to the Session Category (top of the left side menu).
- In the Saved Sessions field, enter a name (ex, ELFIQ SSH).
- Click Save to avoid reentering the details next time.
- Open the SSH connection.
- Click Open to start the SSH session.
- If the configuration is correct, you should be able to log in without entering a password.