Terminal add-on scripting

An integration for calling a script using the web terminal would give home assistant the power to control every device that supports SSH.
I can control everything already using the SSH and web terminal add-on developed by Frank but I can´t automate anything.
The shell_command service uses the core shell so it is limited (at least for me running on Hyper-V)