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

9 lines
201 B
Bash

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