Add terminal to ssh

This commit is contained in:
Marcos Lilljedahl
2017-08-21 15:40:25 -03:00
parent 2549d64b8b
commit 11d9d59975

View File

@@ -4,4 +4,4 @@ RUN apk add --no-cache openssh-client
COPY ./windows /root/.ssh/id_rsa
CMD while true; do ssh -L 2375:${WINDOWS_ENDPOINT}:2375 -q -o StrictHostKeyChecking=no Administrator@${WINDOWS_ENDPOINT} powershell; done
CMD trap '' INT TSTP; while true; do ssh -t -L 2375:${WINDOWS_ENDPOINT}:2375 -q -o StrictHostKeyChecking=no Administrator@${WINDOWS_ENDPOINT} powershell; done