# Test SSH remote execution echo "=== Testing SSH remote execution ===" echo "" echo "Usage examples:" echo " ./netbird-install-update.sh # Run locally" echo " ./netbird-install-update.sh --timer # Run locally with auto-update timer" echo " ./netbird-install-update.sh --ssh user@host # Deploy to remote host" echo " ./netbird-install-update.sh --ssh user@host --timer # Deploy to remote host with timer" echo "" echo "The -ssh flag will:" echo "1. Copy this script to the remote host via scp" echo "2. Execute it remotely with sudo" echo "3. Pass through any other flags (like --timer)" echo "4. Clean up the remote copy after execution" echo "" echo "Script is ready for testing!"