debianlive/config/hooks/live/sshserver.hook.chroot
2025-02-20 18:10:53 +01:00

9 lines
161 B
Bash

#!/bin/sh
# Disable SSH Server by default
systemctl disable sshd.service
# Restore default config file
cp /usr/share/openssh/sshd_config /etc/ssh/sshd_config