Posts

Showing posts from December, 2026

One-click SSH terminals, in WEB-browser, on a Home Assistant dashboard with ttyd

Image
I wanted a few buttons on my Home Assistant (HA) dashboard that open an SSH session to my servers, so I could jump straight to the password prompt without opening a terminal, typing " ssh user@server.local" and so on. It turned out to be a bit harder than expected, but the solution is simple, lightweight and works with any browser on the LAN. The standard "Terminal & SSH" add-on can't be used for this. It only opens as an interactive window and doesn't accept any command or parameters from a button. My first idea, the Proxmox web console, had another catch described below. The solution is ttyd , a tiny program that shares a terminal over the web, with one button per target in HA. Intro Why not the Terminal & SSH add-on? The add-on opens a ttyd terminal inside HA, but there is no way to pass " ssh user@server.local " from a button. You can make the terminal start ssh automatically with init_commands...

Popular posts, last 30 days

IKEA Bäve dimmer hack II

Clone the Raspberry boot disk

IVT, Bosch heat pump easy integration, Home Assistant

Installing Ubuntu 24.04 or 26.04 on an old MacBook Air(2011)

Raspberry Pi OS Lite with GUI, RDP, VNC, Chromium

OpenPlotter V2, install guide

SeaTalk1 to NMEA 0183 converter, DIY

iCloud drive sync, or mount, with a Linux, Ubuntu, device

Raspberry Pi watchdog made simple