Is this something that needs to be locked with a password? If so, maybe it would be useful to "lock" a remote script somehow (hash the thing so it can't just be deleted/modified) and refuse to connect without it?