Ah ok, i didn't know you could do that! Good to know.
With a bit of googling, am i right in saying that the correct format would be:
user@localhost> ssh user@remotehost tcsh < shell_script.sh
What if i wanted to set an environment variable first?
Thanks for your reply! |