SSH command

UI Bakery allows connecting to a remote Linux computer via SSH and executing commands there. You can use an SSH command action type for this purpose.

Usually you will land in the home directory of your remote user. This is why in some cases you might need to change a working directory before executing your command. For instance:

cd /other/directory && ./your-script.sh

Reading remote files

You can do that using cat command. For instance:

cat /home/user/your-file

Creating file and filling it with some data

echo {{ui.input.value}} > myfile.txt

Last updated