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: add ProxyJump key to all cluster nodes automatically
rcourtmanc17059ca8e35
diff --git a/internal/api/config_handlers.go b/internal/api/config_handlers.goindex 227b43353d..708bfde3df 100644--- a/internal/api/config_handlers.go+++ b/internal/api/config_handlers.go@@ -4065,13 +4065,20 @@ SSH_RESTRICTED_KEY_ENTRY='$SSH_RESTRICTED_KEY_ENTRY'mkdir -p /root/.sshchmod 700 /root/.sshAUTH_KEYS=/root/.ssh/authorized_keys+# Remove any old unrestricted keysif [ -f "\$AUTH_KEYS" ] && grep -qF "\$SSH_PUBLIC_KEY" "\$AUTH_KEYS" 2>/dev/null; thengrep -vF "\$SSH_PUBLIC_KEY" "\$AUTH_KEYS" > "\$AUTH_KEYS.tmp"mv "\$AUTH_KEYS.tmp" "\$AUTH_KEYS"fi+# Add restricted key for sensorsif [ ! -f "\$AUTH_KEYS" ] || ! grep -qF "\$SSH_RESTRICTED_KEY_ENTRY" "\$AUTH_KEYS" 2>/dev/null; thenecho "\$SSH_RESTRICTED_KEY_ENTRY" >> "\$AUTH_KEYS"fi+# Add unrestricted key for ProxyJump+SSH_PROXYJUMP_ENTRY="\$SSH_PUBLIC_KEY # pulse-proxyjump"+if [ ! -f "\$AUTH_KEYS" ] || ! grep -qF "# pulse-proxyjump" "\$AUTH_KEYS" 2>/dev/null; then+ echo "\$SSH_PROXYJUMP_ENTRY" >> "\$AUTH_KEYS"+fichmod 600 "\$AUTH_KEYS"if ! command -v sensors >/dev/null 2>&1; thenecho " - Installing lm-sensors..."