Merge pull request #14 from tteck/main

[pull] main from tteck:main
This commit is contained in:
pull[bot]
2024-05-10 02:23:39 +00:00
committed by GitHub
5 changed files with 159 additions and 1 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ EOF
# This function modifies the message of the day (motd) and SSH settings
motd_ssh() {
echo "export TERM='xterm-256color'" >>/root/.bashrc
echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" >/etc/motd
echo -e "$APPLICATION LXC provided by https://helper-scripts.com/\n" >/etc/motd
chmod -x /etc/update-motd.d/*
if [[ "${SSH_ROOT}" == "yes" ]]; then
sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config