mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
add ssh configuration options
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
parent
4bdeb781f0
commit
8fe3b8ad4d
1 changed files with 4 additions and 0 deletions
|
@ -84,6 +84,10 @@ module Vulcano::Backends
|
||||||
user_known_hosts_file: '/dev/null',
|
user_known_hosts_file: '/dev/null',
|
||||||
global_known_hosts_file: '/dev/null',
|
global_known_hosts_file: '/dev/null',
|
||||||
number_of_password_prompts: 0,
|
number_of_password_prompts: 0,
|
||||||
|
keepalive: true,
|
||||||
|
keepalive_interval: 60,
|
||||||
|
compression: true,
|
||||||
|
compression_level: 6,
|
||||||
password: @conf['password'] || ssh_config[:password],
|
password: @conf['password'] || ssh_config[:password],
|
||||||
keys: keys,
|
keys: keys,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue