1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 01:39:05 -05:00

Dockerfile: added X11Forwarding change in /etc/ssh/sshd_config

This commit is contained in:
f4exb 2019-03-02 12:39:22 +01:00
parent c5a6956458
commit e0046b3df6

View File

@ -17,7 +17,8 @@ RUN sudo apt-get update && sudo apt-get -y install \
iproute2
# Configure SSH for X-forwarding
RUN sudo sed -i '/X11UseLocalhost/c\X11UseLocalhost no' /etc/ssh/sshd_config
RUN sudo sed -i '/X11Forwarding/c\X11Forwarding yes' /etc/ssh/sshd_config \
&& sudo sed -i '/X11UseLocalhost/c\X11UseLocalhost no' /etc/ssh/sshd_config
# Prepare buiid and install environment
RUN sudo mkdir /opt/build /opt/install \