SSH Command

UI Bakery allows connecting to a remote Linux computer via SSH and executing commands there. For this purpose, you can use the SSH Command action step.

Usually, you will land in the home directory of your remote user. That's why, in some cases, you might need to change a working directory before executing your command, for example:

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

Examples

Reading remote files

You can use the cat command in this case:

cat /home/user/your-file

Creating a file and filling it with data

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

Last updated

Was this helpful?