Mahlon E. Smith <mahlon@martini.nu> [Wed, 15 Jul 2020 15:35:06 -0700] rev 19
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' => ''
}
Mahlon E. Smith <mahlon@martini.nu> [Thu, 09 Jul 2020 15:11:45 -0700] rev 18
Added tag v0.3.0 for changeset 5db18679edcf
Mahlon E. Smith <mahlon@martini.nu> [Thu, 09 Jul 2020 15:05:21 -0700] rev 17
Multiple changes.
- Migrate to gem.deps.rb from .gems
- Bump dependency versions
- Clear environment before connecting to remote server
- Allow option for environment modifications
- Place commands in args, rather than via the IO pipe. (won't spawn remote shell)