SSH Keys
What Are SSH Keys?
Section titled “What Are SSH Keys?”SSH keys are a secure way to connect to servers without typing passwords every time. Think of it like a lock and key:
- Public key = the lock. You put copies on your servers.
- Private key = the key. It stays on your device, never shared.
When you connect, your device proves it has the matching key without ever sending the key itself.
Key Storage
Section titled “Key Storage”Sunflare stores your private keys in encrypted local storage (AES-256-GCM). Keys are never sent over the network or shared with other applications.
Your keys never leave your device. They’re not stored in the cloud and not accessible to other apps.
Generating Keys
Section titled “Generating Keys”In Settings → SSH Keys, click Generate New Key. Sunflare creates a modern ed25519 key (the most secure type available).
Importing Keys
Section titled “Importing Keys”If you already have SSH keys, you can import them:
- Go to Settings → SSH Keys
- Click Import Key
- Paste your private key
Adding Keys to Servers
Section titled “Adding Keys to Servers”After generating or importing a key, you need to add the public part to each server you want to connect to:
# On your server, add the public key:echo "ssh-ed25519 AAAA... sunflare@device" >> ~/.ssh/authorized_keysOr if you have password access:
ssh-copy-id -i ~/.ssh/id_ed25519 user@server