Run "kodi-remote" to navigate in the GUI via SSH, and read https://wiki.libreelec.tv/configuration/…figuration-hard to create a remote config (despite the title it's not that hard).
Not single protocol is detecting key press on remote, so i dont know what is broken, on coreelec all is working fine