diff --git a/build/startup.sh b/build/startup.sh index 7d9abe9..6b76c36 100644 --- a/build/startup.sh +++ b/build/startup.sh @@ -2,11 +2,13 @@ set -ex +keepalive_interval=${KEEPALIVE_INTERVAL:-30} + +################################################################################ + install -m600 /ssh_client_key ~portmap/.ssh install -m644 /known_hosts ~portmap/.ssh || : -keepalive_interval=${KEEPALIVE_INTERVAL:-30} - # Start the OpenSSH client with "exec" to ensure it receives all the stop # signals correctly exec /usr/bin/ssh \