pub async fn ssh_script(
client: &Arc<Mutex<SshClient>>,
config: &ShuttleConfig,
params: &Value,
) -> Result<Value>Expand description
Upload and execute a multi-line script on a remote host.
The script is piped through a random-delimited heredoc to the interpreter. The delimiter is generated per-invocation to prevent injection.