diff --git a/entrypoint.sh b/entrypoint.sh index 587eb3c..1bf31dd 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -5,7 +5,7 @@ set -e mkdir -p /host_keys chmod 700 /host_keys -# check whethre they exist +# check whether they exist if [[ ! -f /host_keys/ssh_host_rsa_key || ! -f /host_keys/ssh_host_ecdsa_key || ! -f /host_keys/ssh_host_ed25519_key || ! -f /host_keys/ssh_host_rsa_key.pub || ! -f /host_keys/ssh_host_ecdsa_key.pub || ! -f /host_keys/ssh_host_ed25519_key.pub ]]; then # create new keys mkdir -p /host_keys/etc/ssh