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' => ''
}
# vim: set nosta noet ts=4 sw=4:
source "https://rubygems.org/"
gem 'configurability', '~> 4.0'
gem 'symphony', '~> 0.13'
gem 'inversion', '~> 1.3'
gem 'net-ssh', '~> 6.1'
gem 'net-sftp', '~> 3.0'
group( :development ) do
gem 'rake', '~> 13.0'
gem 'rspec', '~> 3.9'
gem 'simplecov', '~> 0.18'
gem 'pry', '~> 0.13'
end