debianlive/config/hooks/live/sshserver.hook.chroot
2025-03-03 14:53:44 +01:00

9 lines
204 B
Bash

#!/bin/sh
# Disable SSH Server by default
systemctl disable sshd.service
# Edit live config for allowing PasswordAuthentication
sed -i '\:PasswordAuthentication:d' /lib/live/config/1160-openssh-server