diff --git a/Dockerfile.ssh b/Dockerfile.ssh index faae4de..215b3d8 100644 --- a/Dockerfile.ssh +++ b/Dockerfile.ssh @@ -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