Fixes #193
The container automatically copies the user's public key to its authorized_keys, allowing users to connect via SSH.
id_rsa.pub was the default key the Dockerfile looked for, since it is deprecated (in favor of ed25519) a new script (function) "set_authorized_keys" was added.
This script:
Tries to first copy id_ed25519.pub (if it exists)
If it does not, it falls back to RSA keys and prints a deprecation warning (if it exists).
Otherwise it alerts the user to the fact nothing was copied.
Also, since the condition add_self_rsa_pub was hardcoded to True, it was removed and the keys are just copied directly.
Fixes #193 The container automatically copies the user's public key to its authorized_keys, allowing users to connect via SSH.
id_rsa.pub was the default key the Dockerfile looked for, since it is deprecated (in favor of ed25519) a new script (function) "set_authorized_keys" was added.
This script:
Also, since the condition add_self_rsa_pub was hardcoded to True, it was removed and the keys are just copied directly.