ssh user@remotehost 'var1=foo var2=bar tcsh' < shell_script.sh
Joining commands:
ssh user@remotehost 'cmd1 && cmd2 && ... & tcsh' < shell_script.sh
In reply to Re^5: Advice on running perl program over ssh
by salva
in thread Advice on running perl program over ssh
by Amblikai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |