2014-09-26, 23:09
(2014-09-26, 20:31)ted209 Wrote: I tried adding ssh to cmdline.txt, but it didn't fix the problem (I noticed that ssh isn't in the cmdline.txt for the official build either). I did notice that ssh was enabled by default after doing this though (I didn't have to activate it in the Openelec 'startup wizard').
I don't know if sshd is running - is it possible to tell without having ssh access to it?! It allows me to enter a login name, but responds as if I've entered the wrong password.
I first I tried installing a clean development build about 6 weeks ago and had the same problem - I assumed it was something I'd done wrong until I tried again this week. I'll try some older builds over the next few days to get some idea of when the problem was introduced.
If you're being prompted for a password, then sshd is running. I've no idea why it wouldn't be accepting the openelec password, unless there is a problem with the .ssh folder permissions, maybe.
4.2.0 is using libssh whereas master builds are using libressl. Build #0718 is the first with libressl, so it would be interesting to test that build and the previous build (probably #0714b).
Testing an "official" master build would also help confirm if this problem is common to all master builds or just my build: http://openelec.thestateofme.com/dev_builds/
If you want a console to diagnose the problem, I would suggest adding "textmode" to the end of your line in /flash/cmdline.txt, connect a keyboard to your Pi and reboot - when it comes up you will have access to the logs which may help determine why sshd is rejecting the password - check what is in the system log with "journalctl --no-pager"