Services
Coming soonInspect MySQL through an SSH tunnel
Databases are planned for a release after the first one. The idea: reach a MySQL or MariaDB server that listens only on the loopback address, through the SSH connection you already trust, with an account that can read and little else.
What is planned, and when
This page describes a design, not a shipped tool. Database support is scheduled after the first release (0.1), which is limited to SSH, files, host readings and website checks. The engines come in order: MySQL and MariaDB first, others later. The feature overview shows the version scope for everything.
Tunnel prerequisites
The design assumes the common, safer setup: the database listens on 127.0.0.1 on the server, and there is no public database port. ServerFlock would open a forward over an SSH connection whose host key, and any jump hosts, have already been verified. A tunnel is only as trustworthy as that first check, which is why this feature builds on it instead of replacing it.
A successful SSH login does not mean the database has granted access. Network reachability and database permission are separate things, and the interface is meant to report them separately.
Tunnel and account, as a picture
Your computer connects to the server over SSH. Inside that connection a forward reaches the database on loopback. The account used is the narrow one you created for ServerFlock.
- No public database port
- SSH host check first, then the forward
- A named, scoped, read-only account
Concept · sample data
| Step | Detail | State |
|---|---|---|
| SSH host key | SHA256:Q3x9…vK2e | matched |
| Forward | 127.0.0.1:3306 | open |
| Account | sf_readonly | SELECT only |
| Limits | 10 s timeout, 500 rows | set |
Database authorisation
The recommended approach is a dedicated database account for ServerFlock, limited to what you want visible, with read-only rights. We plan to explain how to create one, and the app is meant to warn if the account it is given can do more than it needs. Database passwords go to the operating system keychain like other credentials, and the AI is not given them. See security for the credential design.
Timeouts and row limits
- Each query runs with a time limit inside the connection, so a slow statement cannot hang the window.
- Results are capped at a number of rows you can see and adjust.
- By default the view shows metadata and health: databases, tables, sizes, connection counts. Not table contents.
Writes come later
Schema changes, row edits and exports are a later stage. When they arrive, the plan is parameterised templates with a fixed scope, and destructive statements such as dropping a table are treated as high risk: extra confirmation, never part of automatic policies. Backups need their own consistency checks; they are covered in the backups section of the feature list.
Where it connects to the rest
A database fault often starts at a website: a 500 error on a page is shown in website checks, and the link to the host in server management leads you to the database behind it. Database health can feed monitoring. Files such as dumps move with SFTP, and database services running in containers are covered on the Docker page. The integrations page lists connection modes.
Comparing with panels that manage databases? See aaPanel, 1Panel and Coolify, each with sources and notes on when the other tool is the better fit.
Who it is for
Developers who need to look at a database after a release and operators handing over an incident. The privacy notes describe what the website collects today.
Questions
Is database support in the first release?
No. The first release covers the SSH terminal, SFTP, host readings and site checks. Databases come later, starting with MySQL and MariaDB.
Do I have to open port 3306 to the internet?
No. That is the point of the design. The database keeps listening on the server's loopback address, and ServerFlock reaches it through an SSH forward.
Will ServerFlock edit my data?
Not at first. The initial scope is read-only: database and table metadata and connection health. Schema changes and row edits are planned later, with fixed templates and a separate approval.
Can the AI see my table contents?
By default it would see metadata and health figures, not rows. What is sent to a model is redacted and you choose the fields. See the AI agent page.
Launch notice
Be first to try ServerFlock.
ServerFlock is in development for Windows, macOS and Linux. Leave an email and we will write once, when the first build is ready.