About
SSH is an integration that controls and monitors devices by running terminal commands over SSH. It connects locally and supports password or key file authentication, and several devices can be added at once. It creates sensors, binary sensors, texts, selects, numbers, switches, buttons and updates from command output, and one command can feed several sensors. Default command sets for Linux and Windows add sensors such as CPU load, free memory and temperature, and allow shutting down and restarting the device. Commands can use templates, and devices can be turned on by Wake on LAN using the MAC address. Turning a device off is disabled until an option allows it, and a power button can replace the switch. Setup and later command edits are done in the UI, and it needs the Marketplace.
Automatic summary of the README and code of zhbjsh/homeassistant-ssh. Something wrong, or are you the maintainer and want your own text here? Get in touch
Supports
Works locally Talks to your devices on your own network. No vendor cloud in between.
From the Marketplace Installed through the Marketplace, formerly HACS.
Provides
- Switches
- Sensors
Setting it up
Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.
Connect
- Automatically add key to host keys file
- Default commands
- Host
- Host keys file
- Invoke shell (experimental)
- Key file
- Load system host keys
- Password
- Port
- Username
MAC address
- Mac address
Name
- Name
After setup
- Action commands
- Allow to turn the device off
- Command timeout
- Disconnect between commands
- Use power button instead of switch
- Reset commands
- Sensor commands
- Update interval
- Reset the default commands
- Remove all custom commands
Texts from the code of zhbjsh/homeassistant-ssh.
From the README
This custom integration allows you to control and monitor devices in Home Assistant by executing terminal commands via SSH. It uses the paramiko library and works in a similar way as the official Command Line integration.
- SSH authentication with username/password or key file.
- Connect to multiple devices at the same time.
- Generate sensor, binary sensor, text, select, number, switch and update entities.
- Default commands for Linux and Windows included and available without configuration.
- Edit all commands and settings from the UI.
- Get the value of multiple sensors from the output of a single command.
- Use dynamic sensors to automatically add/remove entities.
- Render commands and sensor values with templates.
- Poll sensors manually by calling a service.
- Include sensor values in commands and update them automatically when executing.
- Turn on devices by Wake on LAN.
Shows in Vulpo
Quick Toggle card, Button card, Select card, Chart card, Apple Watch, Control Center.Information
- Installs
- Not shown: shared domain ssh
- GitHub stars
- 167
- Connection
- Works locally
- Upkeep
- No update in 6 to 18 months
- Version
- v1.3.1,
- Category
- Computers and network, Cloud and developer tools
- Kind
- Marketplace integration
- Needs
- Needs the Marketplace (HACS on 2026.10 and older)
- Domain
ssh- Issues
- Report an issue












