aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL/common.d/10_base
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2017-09-17 17:52:35 +0200
committerStephane Desneux <stephane.desneux@iot.bzh>2017-09-17 17:52:35 +0200
commit43069f50aca0f1ff835984a67af9d5fa5ada73eb (patch)
treef37aab70f35b4be4a2f10ab184d6bd43ca2cc2a1 /INSTALL/common.d/10_base
parentecb23523682561608288fe0acdd139708b0bf071 (diff)
common.d/10_base: fix sshd listening address for X11 forwarding
Change-Id: Ide9b12398c71105a98da5f0cef78dc8358dd7739 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'INSTALL/common.d/10_base')
-rw-r--r--INSTALL/common.d/10_base6
1 files changed, 6 insertions, 0 deletions
diff --git a/INSTALL/common.d/10_base b/INSTALL/common.d/10_base
index 5cff36b..feb2ec9 100644
--- a/INSTALL/common.d/10_base
+++ b/INSTALL/common.d/10_base
@@ -74,5 +74,11 @@ echo "LANG=en_US.UTF-8" >>/etc/default/locale
# by default, /tmp is not mounted in tmpfs: solve this
echo "tmpfs /tmp tmpfs noatime,size=50% 0 0" >>/etc/fstab
+# fix sshd issues with X11 forwarding (may happen if IPv6 is in use)
+cat <<EOF >>/etc/ssh/sshd_config
+
+# configuration options added from docker-worker-generator (script $BASH_SOURCE)
+AddressFamily inet
+EOF