Manage SSH Keys
SSH keys provide a more secure and convenient way to log in to servers compared to passwords. You can centrally manage your SSH public keys in the GoMami control panel.
Generate an SSH Key Pair
If you don't have an SSH key yet, generate one locally:
# Generate ED25519 key (recommended)
ssh-keygen -t ed25519 -C "your_email@example.com"
# Or generate RSA 4096-bit key
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
After generation, keys are saved by default at:
- Private key:
~/.ssh/id_ed25519(keep safe, never share) - Public key:
~/.ssh/id_ed25519.pub(upload to the control panel)
Adding an SSH Key
- Log in to GoMami Control Panel
- Go to Account > SSH Keys
- Click Add SSH Key
- Paste your public key content
- Enter a recognizable name
- Click Save
tip
View your public key:
cat ~/.ssh/id_ed25519.pub
Importing Existing Keys
If you already have SSH keys from other devices or platforms, simply copy and paste the public key file (.pub ending) content into the control panel.
Supported key types:
| Type | Description |
|---|---|
| ED25519 | Recommended, high security, short key |
| RSA | Good compatibility, 4096-bit recommended |
| ECDSA | Elliptic curve, good performance |
Deleting an SSH Key
- Find the key to delete on the SSH Keys page
- Click the corresponding Delete button
- Confirm deletion
caution
Deleting an SSH key from the panel does not affect keys already deployed to servers. To remove from a server, manually edit ~/.ssh/authorized_keys on the server.
Next Steps
- Apply SSH Keys to Instances — Deploy keys to servers
- Terminal Connection — Connect using keys