From 11d9d59975f3a1f4051c38295ebfc0e9fe1e4b36 Mon Sep 17 00:00:00 2001 From: Marcos Lilljedahl Date: Mon, 21 Aug 2017 15:40:25 -0300 Subject: [PATCH] Add terminal to ssh --- Dockerfile.ssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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