Skip to content

Commit

Permalink
ssh-server with Forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
aceberg committed Aug 13, 2024
1 parent f4dda1a commit 62acc3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ RUN mkdir /home/sshuser/.ssh && \
chown sshuser:sshuser /home/sshuser/.ssh && \
chmod 700 /home/sshuser/.ssh

ENTRYPOINT ["/usr/sbin/sshd", "-De", "-f", "/etc/ssh/sshd_config"]
ENTRYPOINT ["/usr/sbin/sshd", "-De", "-f", "/etc/ssh/sshd_config", "-o", "AllowTcpForwarding=yes"]
CMD ["-p", "2222"]

0 comments on commit 62acc3a

Please sign in to comment.