manila-image-elements/elements/manila-ssh/post-install.d/80-update-sshd-conf

11 lines
271 B
Bash
Executable File

#!/bin/bash
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
# NOTE(u_glide): Security Warning! Use following option only for debugging purpouses
# sed -i 's/^#*PasswordAuthentication\sno/PasswordAuthentication yes/g' /etc/ssh/sshd_config