dev-manager-desktop icon indicating copy to clipboard operation
dev-manager-desktop copied to clipboard

Opening WebOS dev Manager as root required to negotiate ssh key pair with the TV

Open Peppix-007 opened this issue 6 months ago • 2 comments

Device Type

Linux

Dev Manager Version

1.99.14

Model

OLED65G16LA

webOS Version

6.5.1

Rooted

No (with Dev Mode)

Bug Description

When I add a new device everything seems go to flawlessly, but when I want to sideloading or open a terminal it says "host refused". The only way to get around this is open by terminal webos-dev-manager as root (that means typing: " sudo webos-dev-manager" and adding the device here. Consequently the next time I will have to do what ever operation on the TV everything will be functional even with the app opened as a normal user. Furthermore I Have to manually import the IPK file, the GUI frontend just opens as a blank popup

Reproduction Steps

Just try to add a device and open an terminal session without root privileges on the PC

Expected Behavior

it should work even without root privileges, anyway I think it is problem related to the ssh client which by default with standard privileges didn't let me use ssh-rsa, that kind which is employed for negotiating the keys with the TV. Tried with the following terminal command:
sudo ssh -i webos_rsa -p 9922 -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa [email protected] Where webos_rsa is the key file downloaded from http://192.168.1.13:9991/webos_rsa inserted the dev mode password and worked

Peppix-007 avatar Jun 04 '25 17:06 Peppix-007

Hello, could the IP address of the TV changed? Or installation doesn't work at all unless you're running the app as root?

mariotaku avatar Jun 05 '25 05:06 mariotaku

Yes, The IP address of the TV changed, as a result I changed the connection settings in the WebOS-Dev-Manager UI and anayway I couldn't sideload or open a terminal. When I opened the app with sudo and re-added the device it let me do anything, and the next time even without executing WebOS-Dev-Manager as root it was possible to me interacting with the TV. That is the reason why I think it is a OpenSSH issue that got updated and by default now doesn't allow by default to use ssh-rsa for negotiating the key pair. You can still do that but with sudo.

Peppix-007 avatar Jun 05 '25 07:06 Peppix-007