6 lines
266 B
Bash
Executable File
6 lines
266 B
Bash
Executable File
#!/data/data/com.termux/files/usr/bin/bash
|
|
ABSPATH="$(readlink -f "$BASH_SOURCE")"
|
|
cd "${ABSPATH%/*}" || { echo "Cannot change directory" >&2; exit 1; }
|
|
test -f ./env && source ./env || { echo "Unable to source user variables"; exit 1; }
|
|
ssh "$REMOTE_HOST" -- "$@"
|