mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-08-26 00:00:09 +02:00
15 lines
224 B
Ruby
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
|