H96 Pro Plus - ssh not working on 9.2.1

I use latest CoreELEC release (stored on a sd card) in my H96. The system booted correctly however I noticed strange problems with enabling ssh. I enabled the option however later the option switched back to off. Of course I couldn’t connect to the box via ssh. Solution:

  • install web ssh plugin and login to a box using browser
  • cd /storage/.cache
  • mkdir ssh
  • reboot device or
  • execute ssh-keygen -A and then systemctl restart sshd

It seems that system img doesn’t have ssh dir correctly created and ssh-keygen cannot create keys because the dir is missing. That is why sshd fails to start.