$ssh->system("tcsh < script1.tcsh") or die "Remote command failed: ".£ssh->error;