You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am seeing the following error when using the sshd_config resource. The below output is from running inspec cli. I also have the output from inspec shell.
SSH Configuration Banner
Failure/Error: if @content.empty? && file.size > 0
NoMethodError:
undefined method `empty?' for nil:NilClass
Shell output:
sshd_config.content
NoMethodError: undefined method `empty?' for nil:NilClass
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/inspec-0.16.4/lib/resources/ssh_conf.rb:57:in `read_content'
The text was updated successfully, but these errors were encountered:
I am seeing the following error when using the sshd_config resource. The below output is from running inspec cli. I also have the output from inspec shell.
Shell output:
The text was updated successfully, but these errors were encountered: