entrypoint.sh
automatically creates a new aioz private key file in the correct format if no file exists and edits the default sshd
configuration to allow root login
do not forget flag --no-auto-update
- Generate ssh keys
- Copy
id_rsa.pub
to/root/.ssh/authorized_keys
(use a docker docker config) - Create a (docker) secret from
id_rsa
- To connect:
ssh -q -o "StrictHostKeyChecking no" -p 2222 root@localhost