Support fo Ubuntu2404 #26

Merged
kazu634 merged 29 commits from ubuntu2404 into main 2024-11-03 02:03:02 +00:00
1 changed files with 10 additions and 0 deletions
Showing only changes of commit cf28ca20b6 - Show all commits

View File

@ -31,3 +31,13 @@ remote_file '/home/kazu634/.ssh/config' do
mode '644' mode '644'
end end
# Disable Password authentication
file '/etc/ssh/sshd_config.d/50-cloud-init.conf' do
action :delete
end
execute 'systemctl restart ssh.service ' do
action :nothing
subscribes :run, 'file[/etc/ssh/sshd_config.d/50-cloud-init.conf]'
end