mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-24 14:01:56 +00:00
Update debian-install.sh
Testing Enable Root SSH Access
This commit is contained in:
parent
a8433ea36c
commit
9f192aeec2
@ -100,6 +100,12 @@ EOF
|
||||
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
||||
msg_ok "Customized Container"
|
||||
fi
|
||||
if [[ "${SSH_ROOT}" == "yes" ]]; then
|
||||
cat <<EOF >>/etc/ssh/sshd_config
|
||||
PermitRootLogin yes
|
||||
EOF
|
||||
systemctl restart sshd
|
||||
fi
|
||||
|
||||
msg_info "Cleaning up"
|
||||
apt-get autoremove >/dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user