SSH-based persisted remote (bash) scripting framework