About
SSH Command is an integration that runs commands on remote hosts over SSH from Home Assistant. It adds a single action, which creates no devices or entities and works locally. The action connects with either a password or a private key file, with an optional passphrase for encrypted keys. It can send a command, input for the remote stdin, or both, and input can be read from a file path. Host key checking against known hosts is on by default, and a timeout and port can be set. The action returns the standard output, standard error and exit status, so automations can use the result.
Automatic summary of the README and code of gensyn/ssh_command. 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.
Actively maintained Its author released or pushed a change in the last six months.
Setting it up
Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.
Actions
- Execute SSH CommandExecutes a specified command on a remote host via SSH.Fields: Host, Port, Username, Password, Key File, Passphrase, Command, Input, Check Known Hosts, Known Hosts
From the README
Minimal Home Assistant custom component that exposes a single service to execute commands on remote hosts over SSH: ssh_command.execute.
This integration does not create devices or entities. It only registers the ssh_command.execute service.
Information
- Installs
- 965 sharing analytics
- GitHub stars
- 8
- Connection
- Works locally
- Upkeep
- Updated in the last 6 months
- Version
- v1.0.4,
- Category
- Computers and network, Cloud and developer tools
- Kind
- Marketplace integration
- Needs
- Needs the Marketplace (HACS on 2026.10 and older)
- Domain
ssh_command- Issues
- Report an issue












