Problems with using osascript for remote rendering via pvsc

I can’t directly help you with osescript, but looking at your script, it looks like you’re trying to setup a ssh connection.

ParaView support SSH connection directly using Terminal app on Mac.

See there for usage :