Hello,
To avoid confusion, by SSH Command I mean a single command, and by SSH Snippets I mean a smaller set of commands with a single purpose.
For example, a simple bash script:
#!/bin/bash
sudo apt update
sudo apt dist-upgrade -y
sudo apt upgrade -y
sudo apt autoremove -y
sudo apt clean
sudo apt autoclean
sudo do-release-upgrade
if [ -f /var/run/reboot-required ]; then
sudo reboot
fiQUESTION
What to use to execute this script, because SSH Command does not support multi-line commands (snippet), it simply ends the activity after the first command from the first line of the snippet?
Best Regards,
Ljubomir Manojlovic
Hi,
This specific case is already fixed in the upcoming 2024.1 version:

Best regards,
Xavier Fortin
Hello,
Great.
Sorry, but what is that in the picture? There is nothing like "Terminal Command" for me. Is it some new type of Macro/Script entry?
Best Regards,
Ljubomir Manojlovic
Terminal Command is SSH Command, it's just been renamed to be more generic since it technically also applies to Telnet and (possibly) Serial Port entries.
Best regards,
Xavier Fortin