User guide
How to use Ossiframe Doctor and Deploy. Not verified means implemented but never run on a real server (status words).
- Doctor reports on a server and cannot change it (guarantees).
- Deploy installs base software and deploys applications after you approve a plan. It also has Monitoring, Logs, Terminal, Files and Tunnels. Both apps keep data on your computer and need no account. What reaches outside services, and when, is in Security.
Install and first run
See install.md. Builds are macOS Apple Silicon only and not notarized, so the first launch needs Open Anyway in System Settings.
Server prerequisites
| Need | For |
|---|---|
| A Linux server with OpenSSH | Doctor, Monitoring, Logs, Terminal, Files and Tunnels. Verified on Ubuntu 24.04. Ubuntu 22.04 and 26.04 are expected to work but are untested (distributions). |
| Ubuntu 24.04 LTS | Deploy provisioning and application deployment. The preflight refuses other versions. |
| SSH access with a key | Connecting. Password login is not verified. |
| Passwordless sudo | Deploy provisioning and deployment only. Doctor needs no sudo. |
| SFTP subsystem | Files. OpenSSH on Ubuntu enables it by default. |
AllowTcpForwarding | Tunnels. If sshd sets it to no, tunnels are refused. |
adm or systemd-journal group | Logs. Files under /var/log need adm; the journal needs either. Ossiframe does not use sudo for logs. |
Passwordless sudo is root-equivalent. Use it only on servers you control.
Add a server
- Fill in the form: Name, Host (IP or DNS name), Port, Username and Authentication (Private key file or Password). For a key, choose a file from
~/.sshor Other path… (absolute or~/…). - Select the server and connect. Enter the password or passphrase when asked. Tick Save in the OS keychain after a successful login to skip the prompt next time. Secrets live only in the macOS login keychain (credentials). Changing authentication deletes the saved secret. Changing the host or port disconnects and removes the pinned key. Removing a server deletes its profile, pinned key and saved secret locally, not from the server. Encrypted keys and the changed-host-key flow are not verified (known limitations).
Trust a host key
The check happens during the SSH key exchange (details). On first connection the app shows the fingerprint and sends no credentials or commands until you trust it. Compare it with your provider's console or run ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub on the server. Choose Trust and connect only if they match, which pins the key. A Host key changed error means the connection failed before authentication, so no credential was sent. The server may have been reinstalled, or the connection intercepted. Close the dialog unless you know why. To accept the new key, choose Review replacement, type the host name, and choose Replace pinned key.
Doctor
- Connect to a server, open Overview and choose Run assessment (cancellable).
- Read the results. Overview shows counts by severity and top findings. Diagnostics, Security, Network, Services and Software show each check and its evidence. A check's outcome is passed, finding (info to critical), not applicable, or not assessed. Not assessed means the check was unavailable, incomplete or failed (for example, a file needs root). It is not a pass, and an empty findings list does not mean the server has no problems.
- Open Reports to export the latest assessment as JSON or HTML. Optionally tick Omit connection address. Reports are not anonymized (they include hostnames, service names, ports and file paths), so review one before you share it. Results stay in memory and are marked possibly stale when the connection drops. Doctor runs only predefined read-only commands (guarantees). Verified live on one Ubuntu 24.04 server: s03.
Deploy: provision a server
Provisioning installs the base stack from the Ubuntu archive (what is installed). Use the Provisioning tabs in order.
- Software. Choose Check the server (a read-only preflight), then tick the components to add.
- Preflight. Blockers prevent installing. A common one is a sudo that needs a password.
- Plan. Review install plan lists packages, service changes, steps and privileges. An expired plan changes nothing; create a new one.
- Approve. Choose Review and approve… and confirm. Only the reviewed plan runs.
- Operation. Progress and results.
- History. Past operations. Both stay readable while disconnected. Partly verified (s04); recovery paths not run (known limitations).
Unknown outcome
If the connection drops mid-operation, Ossiframe cannot know whether the remote command finished. The operation becomes Unknown outcome and is never retried. On the Operation tab:
- Reconcile reads the server and reports what it can prove.
- Mark resolved after inspection… closes the operation as failed and retries nothing. For package installs it refuses while an apt or dpkg process runs, a package lock is held, or an Ossiframe step unit is active.
The remote lock
Ossiframe locks the server during an operation. The lock is cooperative and stops only Ossiframe. If its holder no longer exists, the Plan tab offers Release stale lock…. Use it only if no other Ossiframe installation uses the server.
Deploy: applications
Open Applications in the sidebar. Creating or deploying needs a connection and a provisioned server.
Create an application
Choose New application, pick Laravel, generic PHP or static HTML, and fill in:
- Name and Short name (slug).
- Domain. For a quick test on a server with a public IPv4 address, a button fills in
<slug>.<server-ip>.sslip.io. Anyone who knows the address can open the site. - Repository URL, Branch, and for some types an Entry file.
- Options: Use a MySQL database, Disable the NGINX default site. Review and approve the plan, as for provisioning. A new site is served over HTTP; see HTTPS below. A removed application stays listed as Removed. Delete this record (Settings tab) deletes only the local record.
HTTPS
HTTPS on an application's Settings tab gets a free Let's Encrypt certificate, serves the site over HTTPS and redirects HTTP to it. Implemented, not verified on a real server (s18; security).
- Point the domain's DNS at the server, and open ports 80 and 443 in your hosting provider's console. Ossiframe cannot see that firewall.
- Enter a contact email for expiry notices. Approving accepts the Let's Encrypt subscriber agreement. Strict-Transport-Security is optional and hard to undo.
- Choose Review HTTPS plan. It checks that the domain resolves to this server, NGINX is healthy and
ufwallows ports 80 and 443. If Certbot is missing, the plan installs it from the Ubuntu archive. - Approve. If NGINX rejects the new site file, the previous file is restored. An issued certificate stays on the server.
- The result checks the certificate, the redirect, and Certbot's renewal timer and test. A failing renewal test is a warning: the certificate may not renew. Disable HTTPS serves HTTP again and keeps the certificate. Removing the application deletes it. Shared names such as
sslip.iomay be rate limited by Let's Encrypt: use a domain you own.
Private repositories and deploy keys
Use an SSH URL such as git@github.com:owner/repo.git. Private HTTPS repositories are not supported. The Deploy or Repository tab guides you:
- Copy the public key. The key is generated on the server, and the private key stays there.
- Add it to the repository as a deploy key at your Git host.
- Choose Check access, then deploy. For an unknown Git host, Ossiframe shows its fingerprint for you to confirm first.
Environment values
The Environment tab reads the app's .env from the server each time and hides values. Each change needs review and approval. After an app restart, create the plan again.
Releases, redeploy and rollback
- Deploy creates a release from the branch (or another branch, for this deploy only). Each deployment is manual and needs approval.
- Run database migrations is off by default. A rollback switches the code only and cannot undo migrations.
- Releases lists the last few. Choose a previous one to roll back.
- If a check fails after the switch, the new release stays live. Roll back from the Overview.
Settings and removal
The Repository tab changes the branch, or the URL within the same host and access type. Remove application on the Settings tab has optional, permanent choices to drop the database and its user and to delete the application files and Linux user. Type the slug to confirm. Partly verified: one static site (s05). See known limitations.
Opt-in tools
These tools are in Deploy. Doctor has only Monitoring and Logs. Each is partly verified (compatibility); the safety design is in security.
Monitoring
Live CPU, load, memory, disk, network and process figures, polled every 2, 5, 10 or 30 seconds. Polling pauses when the page is hidden.
Logs
Choose a source (Journal, NGINX access, NGINX error, PHP-FPM, MySQL error), set filters, and choose Load. Live tail follows new lines. The buffer keeps the newest 5,000. "Log not available" means your SSH user lacks permission (see the prerequisites). Logs can contain sensitive data.
Terminal
Open terminal gives you a shell over the existing SSH connection. It runs whatever you type as your SSH user, without plans or approval, and Ossiframe does not track changes. Pasting several lines asks for confirmation.
Files
Browse the server over SFTP. The mode selector starts at Read-only on every connect. Read and write allows creating folders, upload, rename, move and delete.
- Changes apply directly as your SSH user and are not tracked or undone.
- Delete removes only files, symbolic links and empty folders, after you type the name.
- Changes to
~/.sshand folders containing it are refused, best effort. - Replacing a file asks for confirmation and discards the old content.
- Previews are plain text, up to 256 KiB.
Tunnels
A tunnel forwards a local port to a destination reached through the server, such as MySQL. Choose New tunnel, set the local port, remote host and remote port, then Start.
- The local port listens on
127.0.0.1only. Any program on your computer can use it while it runs. - Tunnels are not read-only. A client used through a tunnel can change the remote service, and Ossiframe does not see or track that traffic.
- Tunnels stop on disconnect or app exit and do not reconnect.
AI assistant (optional)
The assistant is off until you add your own key for Anthropic, OpenAI or Amazon Bedrock.
- In the AI settings, choose the provider and a model, and paste your API key. The key goes into the macOS keychain and is not shown again. Test connection sends one fixed question and no server data.
- Amazon Bedrock needs a Bedrock API key, an AWS region such as
us-east-1, and an enabled model or inference profile id that supports tool use.
- Amazon Bedrock needs a Bedrock API key, an AWS region such as
- The first question about a server opens a consent dialog listing what is sent. Hide server address and hostname is on by default. Also allow service and NGINX logs is off by default, because logs can contain sensitive data and masking is best effort. Nothing is sent until you choose Accept. What is and is not sent: security.md. The assistant never runs commands it suggests. It is not verified with a real key (known limitations).
Troubleshooting
| Symptom | What to do |
|---|---|
| Host key changed dialog | See Trust a host key. Replace the pinned key only if you know why. |
| Preflight says sudo needs a password, or the user may not run sudo | Deploy needs passwordless sudo. Use a user that has it, or configure NOPASSWD for the SSH user (root-equivalent). |
| Keychain error, or a prompt that does not appear | The login keychain may be locked. Unlock it in Keychain Access and retry. |
| "Log not available", a refused tunnel, or Files that will not open | The server lacks a prerequisite. Fix it on the server and reconnect. |
| Unknown outcome | See Unknown outcome. For packages, inspect the server first (dpkg --audit, running apt processes). |
| A failed application create keeps its name | The slug stays reserved. Remove the application and use a different slug. |
More: known-limitations.md.
