mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-07 12:12:24 +02:00
15 lines
222 B
Ruby
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
|