commit | 32f33bdf3f8336721670b6601373ebaf7f5037d8 | [log] [tgz] |
---|---|---|
author | Prasad Vuppalapu <prasadv@google.com> | Wed Jan 05 21:04:00 2022 |
committer | Prasad Vuppalapu <prasadv@chromium.org> | Wed Jan 05 22:00:27 2022 |
tree | 6b55d0c46d09800fbcd6189e2855f0c4179c022a | |
parent | 51d36f5fdda574a85983b0a75bd813ea0a3df689 [diff] |
[satlab]: Enable TCP port forwarding on satlab remote access This will allow users to access DUTs via SSH tunnel Change-Id: Ide5dd3f9ca9707b47dc1c013cd45fe77bd2d264e Bug:b:211693983 Test: Manually tested Change-Id: Ic73a67ae50204e91c2d3ff834ee0832016fff868 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/satlab/+/3358684 Reviewed-by: Anh Le <anhdle@chromium.org> Commit-Queue: Prasad Vuppalapu <prasadv@chromium.org> Tested-by: Prasad Vuppalapu <prasadv@chromium.org>
diff --git a/src/dockerfiles/satlab_remote_access/Dockerfile b/src/dockerfiles/satlab_remote_access/Dockerfile index 72aba98..7152c69 100644 --- a/src/dockerfiles/satlab_remote_access/Dockerfile +++ b/src/dockerfiles/satlab_remote_access/Dockerfile
@@ -50,4 +50,7 @@ # Make everything in /usr/local/bin executable for good measure. RUN /bin/chmod ugo+rx /usr/local/bin/* -WORKDIR /var/log \ No newline at end of file +WORKDIR /var/log + +# Enable TCP port forwarding required for SSH tunneling. +RUN sed -i s/AllowTcpForwarding\ no/AllowTcpForwarding\ yes/ /etc/ssh/sshd_config \ No newline at end of file