diff options
author | Kapil Chouhan <kapil.chouhan@msystechnologies.com> | 2020-12-08 17:25:14 +0530 |
---|---|---|
committer | Kapil Chouhan <kapil.chouhan@msystechnologies.com> | 2020-12-09 11:27:57 +0530 |
commit | 7217f748225b2c22120f7522a2e42ee3dc5b6359 (patch) | |
tree | 5ee2f537d08546e5cc24457b8957684f2cd61bb5 /lib | |
parent | 461c17cb04b6a12e338f59aa36b18e78828321af (diff) | |
download | chef-7217f748225b2c22120f7522a2e42ee3dc5b6359.tar.gz |
Fix for deprecation warning
Signed-off-by: Kapil Chouhan <kapil.chouhan@msystechnologies.com>
Diffstat (limited to 'lib')
-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 a586bf37c2..8b254c13aa 100644 --- a/lib/chef/knife/ssh.rb +++ b/lib/chef/knife/ssh.rb @@ -289,7 +289,7 @@ class Chef opts[:port] = port unless port.nil? opts[:logger] = Chef::Log.with_child(subsystem: "net/ssh") if Chef::Log.level == :trace unless config[:host_key_verify] - opts[:verify_host_key] = false + opts[:verify_host_key] = :never opts[:user_known_hosts_file] = "/dev/null" end if ssh_config[:keepalive] |