7 lines
124 B
Bash
Raw Permalink Normal View History

2025-05-10 21:58:58 +08:00
#!/usr/bin/env bash
cat <<_EOF_ >>"${TARGET_DIR}/etc/ssh/sshd_config"
PermitRootLogin yes
PasswordAuthentication yes
_EOF_