Ensure that the tunnel IP is actually printed
This commit is contained in:
parent
073c68bea6
commit
2681d22fd0
|
@ -7,7 +7,7 @@ EXPOSE 22
|
|||
RUN apk add -U -u openssh-server libcurl curl bash ncurses
|
||||
|
||||
COPY sshd_config /etc/ssh/
|
||||
COPY run-sshd /usr/sbin/
|
||||
COPY bin/run-sshd /usr/sbin/
|
||||
COPY bin/nyan /usr/bin/
|
||||
|
||||
RUN adduser -h /home/aci -D aci && passwd -u aci
|
||||
|
|
|
@ -88,6 +88,6 @@ ssh -t ${forwards[@]} \
|
|||
-o StrictHostKeyChecking=no \
|
||||
-o UserKnownHostsFile=/dev/null \
|
||||
-l ${TUNNEL_USER} \
|
||||
$TUNNEL_IP "clear;echo 'Tunnel is active! YAY' && nyan"
|
||||
$TUNNEL_IP "clear;echo 'Tunnel is active at ${TUNNEL_IP}! YAY' && nyan"
|
||||
|
||||
shutdown
|
||||
|
|
Loading…
Reference in New Issue