[4.4 flashed] Root password "recovery" not accepted by sshd in recovery mode

XA2 4.4 flashed
Don’t know yet if this is a bug or only me.
I booted in recovery mode (fastboot boot hybris-recovery.img)
Pressed “5” to launch sshd

When trying to log in (ssh root@10.42.66.66) from another terminal, the password (recovery) is not accepted.

hybris-recovery.img from SFOS_4.3.0.15 works though.

1 Like

Did someone try this?
Or did nobody have the same issue?

Hi.

Please, did you happen to find a solution to this, by any chance?

I am stuck in recovery mode right now, but I have an Xperia 10 III and 4.4.0.64 was the first release for it (therefore I am afraid I do not have previous releases to go grab a recovery image).

Thank you.

I’m sorry, I’ll only be able to share in september as I’ll not be home until that.
Someone else maybe?
Or try to contact @Jolla as it seems to be a bug, they could perhaps provide a link to dl sth.

Or maybe providing tje correct password would be enough?

Eh, if it only were so easy! :wink:

you can work around this by using telnet to add a key to /root/.ssh/authorized_keys. Something along the lines of:

mkdir /root/.ssh
chmod 600 /root/.ssh
echo "<your key>" > /root/.ssh/authorized_keys
exit

afterwards select run sshd and it should work

2 Likes

Seems the hybris-recovery.img does not actually have the root password be “recovery” as it claims. I just tried on a 10 II with 4.5.0.25 and the ssh login did not work.

My workaround was to start a shell and “passwd” where i would choose my password. And after that “/usr/sbin/sshd”. Now i know the password and the connection works.

I think we have a long standing BUG here that nobody cared to fix. The sshd menu entry in the recovery images is broken because it mentions a password which does not actually work.

5 Likes

kisses from germany!
tysm :relieved:

Thank you very much!

  1. Shell
  2. run passwd
  3. start sshd

works for me