metasploitable3/chef/cookbooks/metasploitable/recipes/sshd.rb
2017-08-16 16:09:07 -05:00

15 lines
222 B
Ruby

#
# Cookbook:: metasploitable
# Recipe:: sshd
#
# Copyright:: 2017, Rapid7, All Rights Reserved.
cookbook_file '/etc/ssh/sshd_config' do
source 'sshd/sshd_config'
mode 0644
end
service 'ssh' do
action :restart
end