Of course it works.
A few reasons why in my case it didn't worked:
- OpenELEC documentation - took me a while to understand that I need to "mix" OpenELEC and LibreELEC documentation to understand whatever I need to understand for LibreELEC
- needs some deciphering if you would like to:
- connect from Windows box, for ex using putty - in that case you need to copy your private key to the "other" box
- generate your keys on Windows, for ex using putty
- misses some points like:
- don't try to change /etc/ssh/sshd_config because that part is readonly
- what should you change if you want to additionally fine-tune your sshd config (typically he staff listed in sshd_config)
- systemd is used, so "systemctl restart sshd" should be used if you want to restart sshd (and not
"service sshd restart" or not "/etc/init.d/sshd restart")