Browse Source

don't generate all the key types

master
parent
commit
124ff32f30
  1. 3
      entrypoint.sh

3
entrypoint.sh

@ -1,7 +1,8 @@ @@ -1,7 +1,8 @@
#!/bin/bash
# This won't be executed if keys already exist (i.e. from a volume)
ssh-keygen -A
ssh-keygen -t ed25519
ssh-keygen -t ecdsa
# Copy authorized keys from ENV variable
echo "$AUTHORIZED_KEYS" >$AUTHORIZED_KEYS_FILE

Loading…
Cancel
Save