Repository navigation
Troubleshooting
The common ways SSH breaks on a rooted LG TV, and what to do. Start by opening SSH Doctor: The check usually names the problem and the button that fixes it.
Nothing is listening on that port.
- SSH is off, or on but not running: Turn SSH on now. No restart needed.
- You moved SSH to another port: use
-p 2222(or the port shown on the main screen). - The Homebrew Channel is in failsafe mode: restart the TV once.
- Wrong IP address: the main screen shows the TV's current one. Routers can hand out a new one after a restart, so a reserved (static DHCP) address helps.
Your computer can't reach the TV at all: a different network, a guest Wi-Fi that keeps devices apart, or the wrong address. Check that the computer and the TV are on the same network.
The TV only takes keys now, and none of yours matched.
- You added a key: the Homebrew Channel then turns
alpineoff at the next restart. Use the key:ssh -i ~/.ssh/YOUR_KEY root@TV. - The key file on the TV is broken (pasted from Windows, wrapped lines, a PuTTY-format key): Fix my keys file.
- Lost the key: Go back to password login, then add a key again with Set up a key.
Your own password is set, or a key turned alpine off. Use your password or key, or Go back to password login to get alpine back.
Same cause as Permission denied (publickey): password login is off. Load your key in PuTTY under Connection, SSH, Auth, Credentials (as a .ppk), or Go back to password login.
The TV's own SSH keys changed: after a reset, new firmware, re-rooting, or Make new keys. It can also mean another device now has the TV's old address.
- Open SSH Doctor and note the fingerprint on the main screen.
- Remove the old entry:
ssh-keygen -R 192.168.1.50, orssh-keygen -R '[192.168.1.50]:2222'if SSH is on another port. - Log in again and check the fingerprint it shows matches the TV's.
Older dropbear builds offer only an RSA host key signed with SHA-1, which new OpenSSH turns off by default. The pairing page's ~/.ssh/config entry includes the fix when your TV needs it. For a single login:
ssh -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa root@192.168.1.50That's for Developer Mode's SSH on port 9922, which uses the key from the Developer Mode app. For a rooted TV, add the device in Dev Manager with port 22 (or yours), user root, and your password or key instead.
The Homebrew Channel's switch only starts SSH at the next restart. Turn SSH on now starts it right away. If it still won't start, look for The TV's SSH key is broken or Another program has the SSH port on the main screen.
- A key was added, so
alpinestopped working: use the key, or set your own password, which keeps working. - Your settings weren't put back: the main screen says Settings not applied. Press Put my settings back, and if it keeps happening, open a bug report with the Report for getting help.
- The phone must be on the same home network as the TV, not mobile data or a guest Wi-Fi.
- Type the address exactly, with
http://(nothttps://) and the port. - The page closes after 5 minutes. Open Set up a key again for a new one.
The Homebrew Channel isn't running as root. Open it and check "Root status". After some firmware updates you need to root the TV again.
Ask in Discussions, Q&A with the app's Report for getting help, or see FAQ.
LG webOS SSH Doctor by OhMyBahGosh · MIT · Not affiliated with LG Electronics. Something wrong on this page? Say so in Discussions.
Using it
Help
Contributing