PiSCSI DOCUMENTATION
man 1

piscsi-web

web control interface for PiSCSI

PISCSI-WEB(1) General Commands Manual PISCSI-WEB(1)

piscsi-webweb control interface for PiSCSI

piscsi-web [-password TOKEN] [-v]

piscsi-web provides the browser-based control interface for a PiSCSI daemon. It connects to the daemon to display and manage SCSI devices, images, configuration files, logs, and system services.

The packaged service reads its configuration from /etc/piscsi-web/piscsi-web.env and listens on all interfaces at port 8080 by default. Run the service through systemctl(1) on a packaged installation.

TOKEN
Use TOKEN to authenticate with the PiSCSI daemon. This overrides PISCSI_TOKEN for this invocation.
Print PiSCSI version and copyright information, then exit.

Address on which to listen. The default is “0.0.0.0”.
TCP port on which to listen. The default is 8080.
Hostname or IP address of the PiSCSI daemon. The default is “localhost”.
TCP port of the PiSCSI daemon. The default is 6868.
Authentication token for the PiSCSI daemon.
Absolute directory that contains disk images. The default is /var/lib/piscsi/images.
Absolute directory for shared files. The default is /var/lib/piscsi/shared.
Absolute directory for PiSCSI configuration files. The default is /var/lib/piscsi/config.
Optional absolute directory containing Macintosh hard-disk driver images. The default is /var/lib/piscsi/data/mac-hard-disk-drivers.
Drive-properties JSON file. Packaged installations use /etc/piscsi-web/drive_properties.json.
Largest accepted upload in bytes. The default is 4294967296 (4 GiB).
Absolute path to a base64-encoded master-key file used to protect browser sessions. The default is /etc/piscsi-web/session.key.
Base64-encoded session master key for development only. It is used only when SESSION_KEY_FILE is not set.
Browser session lifetime in seconds. The default is 86400.
Optional directory containing HTML templates for development.
Optional directory containing static assets for development.

Start the packaged service and inspect its status:

sudo systemctl enable --now piscsi-web
systemctl status piscsi-web

Run the application directly against a daemon on another host:

PISCSI_HOST=piscsi.local PISCSI_TOKEN=secret piscsi-web

/etc/piscsi-web/piscsi-web.env
Packaged service environment file.
/etc/piscsi-web/session.key
Packaged session master-key file.
/etc/piscsi-web/drive_properties.json
Drive-properties database.

The web interface can modify PiSCSI devices and files. Protect access to its listening address, keep the daemon token and session key secret, and do not make the service publicly reachable without an appropriate network access control.

piscsi(1), scsictl(1)

Full documentation is available at: <https://www.piscsi.com>

August 23, 2026 PiSCSI