-
-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
20.0.0 Adding multiple authorized_keys fail #838
Comments
On save in the config, a List should be generated (as specified in the docs), i.e.: If you paste
Which generates:
Not sure why this isn't occurring for you. |
I checked again. I'm using the UI configuration. If i paste
This will not generate good authorized_keys file.
then i apply and restart, it will work good and the configuration will show this:
This will also generate a good key file. |
Thanks, that clears up things for me. I think what confused me was that applying a config rewrites the formatting. The empty
That didn't work, hence i assumed it's a bug. |
According to the documentation:
Note: Please ensure the keys are specified as a list by pasting within the [] comma delimited.
This does not generate a proper authorized_keys file. The generated file will have one line with comma between keys.
The
authrozed_keys
file format mandates each key to be in a new line.Either the documentation needs to be fixed, mandating an empty line between each key like:
or the script needs to be fixed that generates the file.
The text was updated successfully, but these errors were encountered: