Multiple changes to help support Windows native ssh with sshscript workers.
Defaults are to assume a non-hostile posix environment.
- Don't hardcode the tempdir separator character.
- Allow overrides in the payload of any exposed net-ssh options.
- Allow setting of the "delete" command for script cleanup (ie, 'del')
- Allow running the script via a specific interpreter.
An example payload to make this work with Windows native ssh/powershell
to execute a ruby script:
payload = {
'compression' => false,
'delete_cmd' => 'del',
'run_binary' => 'ruby',
'tempdir' => ''
}
01c2ba6b0a4432ad86c062d95ac1ce5071e954ea v0.1.1
ffa70066522cf73480a69be104d1d113773068d3 v0.2.0
5db18679edcf9643d60fbadf6e89ec737ae81b87 v0.3.0