metasploitable3/chef/cookbooks/metasploitable/recipes/sshd.rb
2017-08-21 16:12:02 -05:00

15 lines
224 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