Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
fix: bypass middleware auth for ssh-config with setup token
rcourtman759a3b7d2f16
diff --git a/internal/api/router.go b/internal/api/router.goindex a465adfe6f..1a244cb7e5 100644--- a/internal/api/router.go+++ b/internal/api/router.go@@ -1209,6 +1209,13 @@ func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request) {}}+ // Allow SSH config endpoint when a setup token is provided+ if normalizedPath == "/api/system/ssh-config" && r.configHandlers != nil {+ if token := extractSetupToken(req); token != "" && r.configHandlers.ValidateSetupToken(token) {+ isPublic = true+ }+ }+// Auto-register endpoint needs to be public (validates tokens internally)// BUT the tokens must be generated by authenticated users via setup-script-urlif normalizedPath == "/api/auto-register" {