From 27b3ff0800ed9002631291f3e0790ed5a470be74 Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Tue, 29 Dec 2020 14:19:50 +0100 Subject: 2020 update --- lxc/debian_roll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lxc/debian_roll') diff --git a/lxc/debian_roll b/lxc/debian_roll index 7ea23c3..5ae7b7e 100755 --- a/lxc/debian_roll +++ b/lxc/debian_roll @@ -20,9 +20,9 @@ lxc-attach -n $NAME -- adduser $USER --gecos "" --disabled-password lxc-attach -n $NAME -- bash -c 'echo -e "'$PASS'\n'$PASS'" | passwd $USER' # setup x11 forwarding -lxc-attach -n $NAME -- bash -c 'echo "AllowTcpForwarding yes" >> /etc/ssh/sshd_config' -lxc-attach -n $NAME -- bash -c 'echo "X11UseLocalhost yes" >> /etc/ssh/sshd_config' -lxc-attach -n $NAME -- systemctl restart sshd +# lxc-attach -n $NAME -- bash -c 'echo "AllowTcpForwarding yes" >> /etc/ssh/sshd_config' +# lxc-attach -n $NAME -- bash -c 'echo "X11UseLocalhost yes" >> /etc/ssh/sshd_config' +# lxc-attach -n $NAME -- systemctl restart sshd # display info lxc-info -n $NAME -- cgit v1.2.3