cat /users/merc/ship/pars_rem.pl | ssh username:password@remoteserver "cat > /users/merc/tmp ; chmod 755 /users/sword/tmp ; /users/sword/tmp "