ssh -T nodeN <<"EOF" ... script here ... EOF