SSH password

I’m running Lakka-RPi4.arm-2.9-devel-20190723035023-70412e1 on my Pi 4 and I’m trying to access it via PuTTY from a Windows 10 machine. I’m using the correct IP address for the Pi but the default SSH username and password (root/root) isn’t working for me. It just says access denied. Any help appreciated!

Allen

Did you follow these instructions? https://www.lakka.tv/doc/accessing-lakka-command-line-interface/

1 Like

Yes, I followed the SSH method listed here. SSH is enabled on Lakka. Still no luck.

Have you tried “lakka” as both user and password?

Okay…lakka as both user and password didn’t work so I tried user root and password lakka and it worked! Thanks for your help everyone. I appreciate it!

Allen

For the record (and anyone finding this topic on Google), the new LE9.2 based builds have root / lakka as ssh credentials. This will most likely be changed to keep consistency with current versions of Lakka

3 Likes

What’s the password for the lakka partition? (The one that contains config.txt) I tried root, lakka and root and raspberry. No dice.

What do you mean by password for the partition ? It’s a classic FAT32 partition there’s nothing protected about it

However it’s mounted read only so you need a PC to edit it

That’s what I meant, more or less. I wanted to know if there was any way to edit config.txt over SSH. I can that with Raspbian. It makes it easier to switch between different modelines if you’re using a CRT. Image that I’m playing a Neo Geo game at x224 vertical res, and then I want to play an N64 game at x240 vertical res. If I have to remove the SD card and go to my PC and edit the modeline, it’s kind of a pita. Looking for a way to SSH into the box from a PC, edit the modeline, and then reboot it. Still a pita, but at least I don’t have to shutdown, remove the SD, stick it in a card reader, etc, etc.

Is this impossible, or is it just a permission issue or something?

Thanks

https://www.lakka.tv/doc/Accessing-Lakka-command-line-interface/

This is what I believe you’re looking for.

The FAT32 partition is mounted read-only as /flash on the Lakka box.

You may be able to remount it read-write by using mount -o rw,remount /flash but I have never done it so I can’t tell if it works or not. Otherwise you indeed need a PC to edit the files or unpack, edit and repack the initramfs to mount /flash read-write on boot

What natinusala indicates is correct.

It is on the LibreELEC wiki: https://wiki.libreelec.tv/config.txt

I have always been able to get in with root/root

how do you update the raspberry pi firmware in the ssh (with lakka)

What are you calling “firmware”?

The most probable update is: you don’t. Lakka ships with a read-only “firmware” that gets updated when you update Lakka