existing_on_host ~executable_path ?strict_host_key_checking host
will create a t
from the supplied host and path. The executable MUST be the exact same executable that
will be run in the master process. There will be a check for this in spawn_worker
.
Use strict_host_key_checking
to change the StrictHostKeyChecking option used when
sshing into this host
copy_to_host ~executable_dir ?strict_host_key_checking host
will copy the currently
running executable to the desired host and path. It will keep the same name but add a
suffix .XXXXXXXX. Use strict_host_key_checking
to change the StrictHostKeyChecking
option used when sshing into this host
Get the underlying path, host, and host_key_checking
Run the executable remotely with the given environment and arguments. This checks to
make sure t
matches the currently running executable that run
is called from.