(TIL) Nix: Run local scripts remotely with SSH

less than 1 minute read

To run a local script enki.sh on a remote machine, use:

ssh user@enki 'bash -s' < enki.sh

The output of enki.sh will be displayed locally.

Via enkipro.com.

Tags: ,

Categories:

Updated:

Comments