Repository navigation
Over telnet
OhMyBahGosh edited this page Nov 8, 2026
·
1 revision
Everything the app does is done by one script, ssh-doctor.sh, which also works on its own. That helps when telnet is the only way in, or when you'd rather type.
telnet 192.168.1.50
cd /media/developer/apps/usr/palm/applications/org.ohmybahgosh.sshdoctor/assets
sh ssh-doctor.sh statusOr download ssh-doctor.sh from the latest release and copy it to the TV. It needs root and busybox, both of which the TV has.
sh ssh-doctor.sh status # what's wrong, in plain words (--json for the app's version)
sh ssh-doctor.sh keys # the keys that can log in, with fingerprints
sh ssh-doctor.sh servers # every SSH server on the TV, and its ports
sh ssh-doctor.sh settings # the dropbear options in use
sh ssh-doctor.sh logins # recent logins and failed tries
sh ssh-doctor.sh hostkeys # the TV's own SSH keys and fingerprints
sh ssh-doctor.sh report # a report for asking for help, private bits left out
sh ssh-doctor.sh versionsh ssh-doctor.sh ssh-on # turn SSH on and start it now
sh ssh-doctor.sh fix-keys # repair authorized_keys and its permissions
sh ssh-doctor.sh password-on # back to user root, password alpine
sh ssh-doctor.sh hostkeys-reset # new SSH keys for the TV
sh ssh-doctor.sh apply # restart SSH with the saved settings
sh ssh-doctor.sh backups # the keys file backups it made
sh ssh-doctor.sh restore NAME # put one back, by file namesh ssh-doctor.sh add-key /tmp/id_ed25519.pub # one public key, OpenSSH format
sh ssh-doctor.sh key-rename SHA256:abc... laptop
sh ssh-doctor.sh key-remove SHA256:abc...sh ssh-doctor.sh set-password '$6$...' # a SHA-512 crypt hash, not the password
sh ssh-doctor.sh clear-password
sh ssh-doctor.sh set-keys-only on # or off
sh ssh-doctor.sh set-keepalive on # or off
sh ssh-doctor.sh set-port 2222 # then, after logging in on 2222:
sh ssh-doctor.sh port-keep # or port-revert
sh ssh-doctor.sh reset-settings # back to the Homebrew Channel's defaults
sh ssh-doctor.sh telnet-off # or telnet-onTo make a hash on a computer, use openssl passwd -6 (it asks for the password) or mkpasswd -m sha-512. Keep the single quotes around it on the TV, because $ means something to the shell.
sh ssh-doctor.sh help lists everything.
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