Try something like this:
$ ssh -t yourserver "$(
The `-t` forces a tty allocation, `$(
If the script needs parameters, pass them after the script:
$ ssh -t yourserver "$(
Works for me, not sure if it's universal though.
Try something like this:
$ ssh -t yourserver "$(
The `-t` forces a tty allocation, `$(
If the script needs parameters, pass them after the script:
$ ssh -t yourserver "$(
Works for me, not sure if it's universal though.