metasploitable3/chef/cookbooks/metasploitable/recipes/sshd.rb

15 lines
224 B
Ruby
Raw Normal View History

2017-08-16 23:09:07 +02:00
#
# Cookbook:: metasploitable
# Recipe:: sshd
#
# Copyright:: 2017, Rapid7, All Rights Reserved.
cookbook_file '/etc/ssh/sshd_config' do
source 'sshd/sshd_config'
2017-08-21 23:12:02 +02:00
mode '0644'
2017-08-16 23:09:07 +02:00
end
service 'ssh' do
action :restart
end