docs: Update temperature monitoring security notice for proxy architecture

Replaced outdated security warnings with accurate information about
the pulse-temp-proxy architecture:

- Removed scary 'legacy feature' and 'compromised container' warnings
- Explains secure proxy architecture for containerized deployments
- Notes that SSH keys are stored on Proxmox host (not in container)
- Clarifies container compromise does not expose credentials
- Includes information for both containerized and native installs
- More factual and less alarmist tone

The old message implied temperature monitoring was insecure for
containers, which is no longer true with pulse-temp-proxy.

Related to #528
This commit is contained in:
rcourtman 2025-10-12 22:11:12 +00:00
parent 5c1dec14e1
commit dd468a9e26

View file

@ -3219,23 +3219,25 @@ if grep -q "pulse.lan\|pulse.home\|192.168" <<< "%s"; then
: :
fi fi
echo "⚠️ SECURITY NOTICE" echo "📊 Temperature Monitoring"
echo "" echo ""
echo "Temperature monitoring requires SSH access from Pulse to this node." echo "Temperature monitoring collects CPU and drive temperatures via SSH."
echo "This creates the following security considerations:"
echo "" echo ""
echo " • SSH private keys will be stored on the Pulse server" echo "Security Architecture:"
echo " • If Pulse runs in a container (LXC/Docker), keys live inside it" echo " • SSH key authentication (industry standard, used by Ansible/Terraform)"
echo " • Compromised Pulse = potential access to Proxmox hosts" echo " • Forced command restriction (only 'sensors -j' can execute)"
echo " • No port forwarding, X11, PTY, or agent forwarding allowed"
echo "" echo ""
echo "Mitigations in place:" echo "For containerized Pulse (LXC/Docker):"
echo " • Forced command restriction (only 'sensors -j' can run)" echo " • SSH keys stored on Proxmox host (not inside container)"
echo " • No port forwarding, X11, or PTY allocation" echo " • pulse-temp-proxy service manages connections securely"
echo " • Container compromise does not expose SSH credentials"
echo "" echo ""
echo "This is a legacy feature. Future versions will use agent-based" echo "For native Pulse installations:"
echo "architecture where nodes push metrics to Pulse (more secure)." echo " • SSH keys stored in Pulse service user's home directory"
echo " • Standard key-based authentication with forced commands"
echo "" echo ""
echo "Do you want to enable temperature monitoring? [y/N]" echo "Enable temperature monitoring? [y/N]"
echo -n "> " echo -n "> "
ENABLE_TEMP_MONITORING="n" ENABLE_TEMP_MONITORING="n"