Mender 2.6 comes with major architectural improvements to enable support for new use cases in Mender. The first feature to leverage the new architecture is also here: the secure Remote terminal, and more will come in future releases!
This looks great! Is there any plan to create a VPN such that we could access a webserver on our device, effectively enabling us to interact as if we were using the local HMI?
@farshadt Would it be possible to use the mender-cli tool with the remote terminal feature, to pass a command from my home shell, to the device using something similar like this:
ssh remote-host ‘bash -s’ < main_script.sh
but also get an output back to my home shell?
At the moment you can’t. You can pipe a script to mender-cli (just make sure that the script call exit), but it will return the entire output of the terminal device running the shell. Meaning that the output will also contain command-line prompts.