Files
play-with-docker/Dockerfile.ssh
Marcos Lilljedahl 11d9d59975 Add terminal to ssh
2017-08-21 15:41:54 -03:00

8 lines
245 B
Docker

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