Add terminal to ssh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user