Ternux
Connections

Keychain

Store and manage SSH key pairs for passwordless authentication.

The Keychain section (Connections → Keychain) lists all SSH key pairs registered with Ternux. You can use stored keys as the authentication method for any connection.

Adding a key

  1. Navigate to Connections → Keychain.
  2. Click Add Key.
  3. Choose between:
    • Generate new key — creates a new ed25519 or RSA key pair.
    • Import existing key — paste or browse to a private key file on disk.
  4. Provide a label and optional passphrase (stored encrypted in the Vault).
  5. Save.

Using a key for a connection

When adding or editing a connection, set Auth method to SSH Key and select the key from the dropdown. Ternux will use the key automatically when connecting.

Generating a key pair

The Generate Key dialog creates a new key and saves both the public and private parts. The public key is displayed so you can copy it to your server's ~/.ssh/authorized_keys.

Exporting a public key

Click the menu on any key card → Copy Public Key to copy the public key to your clipboard.

Deleting a key

Click the menu → Delete. Any connections that reference this key will fall back to password authentication on the next connect attempt.

On this page