Snapshot of private main @ 10300fb6 through the extended publish excision (SC-SIM module, internal infra/ops scripts, personal material, debug cruft) plus the IP/e-mail scrub. Notable: - backend/services/agent-tools/principal.js — principal identity + owner-only naturalization (ADR-165 WP-4), with its two consumers. - backend/services/audit/toolAudit.js — hash-chained tool audit. - backend/services/mail/provisionMailbox.js + migration 089 — ADR-198 mailbox provisioning. - shared/column-types.js + migration 088 — ADR-0041R type ratchet. - migration 090 — ADR-0066-B agent provenance. - docs/MANIFESTO.md, docs/MCP.md — the two README links that were dangling. - LICENSE now also lives in the source tree; package.json declares MIT. - run-pes.js / deploy-package.cjs no longer carry credential fallbacks.
31 lines
1.1 KiB
Desktop File
31 lines
1.1 KiB
Desktop File
# Reverse SSH tunnel: MKS Pi (Klipper/Moonraker) -> godcrm server
|
|
# Exposes the printer's local Moonraker (127.0.0.1:7125) on the server's
|
|
# localhost:7125, where backend/services/agent-tools/printer-tools.js reads it.
|
|
#
|
|
# Install ON THE MKS Pi (NOT on the CRM server):
|
|
# sudo cp deploy/printer/moonraker-tunnel.service /etc/systemd/system/
|
|
# sudo cp mkspi_tunnel /home/<user>/.ssh/mkspi_tunnel && chmod 600 ...
|
|
# sudo systemctl daemon-reload && sudo systemctl enable --now moonraker-tunnel
|
|
#
|
|
# Server target = v881099.hosted-by-vdsina.com / <PROD_IP> (single box, June 2026).
|
|
# If the CRM box migrates again, change ONLY the IP in ExecStart below.
|
|
|
|
[Unit]
|
|
Description=Reverse SSH tunnel to godcrm (Moonraker 7125)
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
User=pi
|
|
Environment=AUTOSSH_GATETIME=0
|
|
ExecStart=/usr/bin/autossh -M 0 -N \
|
|
-o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" \
|
|
-o "ExitOnForwardFailure yes" -o "StrictHostKeyChecking accept-new" \
|
|
-i /home/pi/.ssh/mkspi_tunnel \
|
|
-R 7125:localhost:7125 \
|
|
printer@<PROD_IP>
|
|
Restart=always
|
|
RestartSec=10
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|