I'd like to create identical copies of a LE install (for Raspberry Pi3, it has been customized and has services enabled). Problem is after creating an image of it with dd the configuration like SSH is lost, and I believe for this same reason the SSH authorized_keys file is also lost from the user partition. I'm pretty sure the read-only LibreELEC partition is behind this, so my question is where or how does LE store configuration files like SSH and how can I make an identical clone inlcluding these?
Is there a way to enable/disable services via SSH? (I'm talking about those in LE configuration under services, like SSH itself and SMB).