diff options
author | Vern Burton <me@vernburton.com> | 2018-02-19 19:13:44 -0600 |
---|---|---|
committer | Vern Burton <me@vernburton.com> | 2018-02-19 19:14:05 -0600 |
commit | 52e76ca30749d87ada0146d155c6c590db52a9a1 (patch) | |
tree | c4c2cc1b57f2ca89ac5a61c5a34dd063f2b190ed /lib/chef | |
parent | e079a1e2c6ad084ad01ffecfeb610beb7b448097 (diff) | |
download | chef-52e76ca30749d87ada0146d155c6c590db52a9a1.tar.gz |
updating paranoid to verify_host_key for net-ssh for 4.2 greater and updating gemspec.
This breaks net-ssh 4.1 and lowers backwards compatibility
Signed-off-by: Vern Burton <me@vernburton.com>
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/knife/ssh.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/ssh.rb b/lib/chef/knife/ssh.rb index 885ebc4faa..e02ea4ae1d 100644 --- a/lib/chef/knife/ssh.rb +++ b/lib/chef/knife/ssh.rb @@ -273,7 +273,7 @@ class Chef opts[:port] = port unless port.nil? opts[:logger] = Chef::Log.logger if Chef::Log.level == :debug if !config[:host_key_verify] - opts[:paranoid] = false + opts[:verify_host_key] = false opts[:user_known_hosts_file] = "/dev/null" end if ssh_config[:keepalive] |