Generate & install SSH keys
Generate a key pair, add it to the hosts you pick (like ssh-copy-id), verify it and switch hosts to it.
Generate & install SSH keys
Done in the Kubexer Terminal desktop app. Keys you generate are saved in your vault, so they sync to the mobile app and work there too.
Create an SSH key pair in a vault and add its public key to the servers you choose, like ssh-copy-id, but for many hosts at once. Generating a key is free. Installing or removing it on hosts needs Pro.
Generate a key
- Open a vault → Identities → Generate SSH key.
- Give it a name and the username it logs in as.
- Pick Ed25519 (recommended) or RSA 4096, and optionally a passphrase.
- Click Generate. The key is saved as an identity. Copy the public key from the result if you need it elsewhere.
The private key never leaves the vault unless you export it.
Install it on hosts
- On the key identity's menu, choose Install on hosts… (or click it right after generating).
- Pick hosts and/or groups. Only SSH hosts are listed.
- Optionally tick Switch these hosts to log in with this key after it's verified.
- Click Install.
For each host, Kubexer connects with the host's current login, adds the key to ~/.ssh/authorized_keys of the user it logs in as, and then verifies it by signing in again using only the new key. A key that's already there isn't added twice.
A host is switched to the new key only when the verify succeeded and its username matches the key's, so you can't lock yourself out.
Other actions
- Copy public key: puts the
ssh-ed25519 …line on the clipboard. - Export private key…: saves the private key (owner-only permissions) and its
.pubfile. A passphrase-protected key stays encrypted. - Remove from hosts: in the install drawer, switch to Remove. A host that currently logs in with this key is skipped, so you don't cut off your own access. Switch it to another login first.
Limits
- Windows OpenSSH hosts are skipped for now.
- A host whose fingerprint you haven't trusted yet fails with Connect to this host once to trust its host key. Connect once, accept the fingerprint, then retry. See Known hosts & fingerprints.
- If the server doesn't allow key logins, the key is installed but the verify fails, and the host isn't switched.
- To give someone else limited access under their own Linux user, use Access profiles instead.