CRITICAL FIX: macha-chat was running as the invoking user (e.g., lily), but SSH keys are stored at /var/lib/macha/.ssh/id_ed25519 which only the macha user can access. This caused password prompts when using SSH commands in macha-chat, while macha-ask (which runs as macha user) worked correctly. Changes: - macha-chat now uses 'sudo -u macha' like macha-ask does - Both interfaces now run with identical permissions - Ensures consistent SSH key access and behavior Now both macha-chat and macha-ask: - Run as the macha user - Have access to /var/lib/macha/.ssh/id_ed25519 - Use centralized command_patterns.py - No password prompts for SSH!
30 KiB
30 KiB