HomeAssitant OS - SSH Wonkiness

I have Home Assistant OS on NUC hardware, and I’m trying to SSH in to find and clear the pycache folder. (fighting with zigbee quirks with cheapo hardware I regret buying)

When I try access the terminal in either Advanced SSH & Web Terminal, or the official SSH addon, I get this:

(Note: I blurred two items on the menu, but the rest of the screenshot is untouched.)

When I ssh in using putty, I get this prompt::

putty-ssh

… no welcome message or anything.

I’ve removed all SSH addons, completely rebooted, reinstalled Advanced SSH and the issue remains.

I’m stuck for things to try. Does anyone have suggestions?

Hi,
I’m seeing two separate oddities:

  1. A buggy video driver, which is odd as usually the HA Terminal & SSH Add-On is rendered on the client via HTTPS.
  2. An incorrect $TERM setting in PuTTY.

I’m starting to wonder if there is a bug in an update or something as someone else had a similar weird terminal:

1 Like

Hi FloatingBoater,

You are a wise man.

  1. It looks like the graphical error is Firefox-specific; Advanced SSH works just fine using both Brave, as well as the Home Assistant app my Android.

  2. I installed the latest version of PuTTY. (0.81, coming from 0.69). The same issue remains. I tried another system on my network (using KiTTY), and I get the same prompt. ([\e]0;\u@\h:\w\a]\W $)

I can also use WinSCP to navigate the directory structure. PuTTY has always worked for me in the past.

I have options now, so I’m not going to spend any time figuring out why PuTTY no longer works. Somewhat interesting I’m not alone though…

Thanks again, FloatingBoater.
AutoRobo

For the prompt, see here Shell prompt regression after latest 19.0.0 update · Issue #788 · hassio-addons/addon-ssh · GitHub

2 Likes