Onboarding
Prepare and Upload Your SSH Key
Locate or generate a private key, copy it safely, and store it in SQLitePilot so you can connect to remote databases.
Before SQLitePilot can reach a remote SQLite file it needs the same SSH private key you use from your own computer. The steps below assume you may have a brand-new droplet (or any fresh server) that still needs the public key installed.
This guide assumes you are working from a Unix-like workstation (Linux or macOS) with OpenSSH available in the default terminal.
What you need
- A desktop or laptop with an existing SSH key pair such as
~/.ssh/id_ed25519or~/.ssh/id_rsa. - The ability to log in to your server (or at least its root password if you need to bootstrap SSH access once).
Step 1: Create or locate your key pair
- On your computer, open a terminal.
- Run
cd ~/.ssh && lsto check whetherid_ed25519orid_rsaalready exists. - If you see one of those files, you already have a private key.
- If you do not, create a new pair with
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519(or useid_rsaif you prefer). Press Enter to accept the defaults. If you need more help generating SSH key follow Generate an SSH Key on Any OS.
Step 2: Add the public key to the fresh server
- Use
ssh-copy-id -i ~/.ssh/id_ed25519.pub user@server(swap in your username/host) to append the public key to~/.ssh/authorized_keyson the server. - If
ssh-copy-idis unavailable, print the public key withcat ~/.ssh/id_ed25519.pub, copy it, and paste it into~/.ssh/authorized_keyson the server manually (create the file if it does not exist). - Make sure the server has correct permissions:
chmod 700 ~/.sshandchmod 600 ~/.ssh/authorized_keys. - Test
ssh user@serverto confirm you can now log in without a password. Do not continue until this works.
Step 3: Copy the private key contents (for SQLitePilot)
- Still on your computer, display the private key with
cat ~/.ssh/id_ed25519(orid_rsa). - Highlight everything from
-----BEGIN ... PRIVATE KEY-----down to-----END ... PRIVATE KEY-----. - Copy it to your clipboard without changing any characters or line breaks.
Step 4: Store the key in SQLitePilot
- Open Keys in SQLitePilot.
- Click Add new key.
- Name the key so you remember where it is used (for example “Fresh droplet – orders app”).
- Paste the private key text exactly as you copied it.
- Hit Save.
On the free plan you can keep one key at a time. Remove an older key or upgrade if the button is disabled.
Step 5: Confirm everything is ready
- Check that the key now appears in the list with today’s timestamp.
- Go to Connections and start creating your first connection; the SSH Key dropdown should list the entry you just saved.
- If saving fails, copy the message shown in the dialog and share it with support—they can help you resolve it quickly.
With the private key stored in SQLitePilot and the matching public key on your fresh server, you can create a connection and begin browsing the remote database from the dashboard.