When using sshd configurations that are not the default (for example, when using userdir-ldap [0]), the intended public key location might be different from the standard $HOME/.ssh/authorized_keys.
In those cases the charm configures the users as usual, but remote sessions don't work because of the missing file with the public keys. It would be useful to be able to configure the location of the file, for example: /etc/ssh/user-authorized-keys/$USER, while keeping the default behaviour if no special configuration is provided.
When using sshd configurations that are not the default (for example, when using userdir-ldap [0]), the intended public key location might be different from the standard $HOME/.ssh/authorized_keys.
In those cases the charm configures the users as usual, but remote sessions don't work because of the missing file with the public keys. It would be useful to be able to configure the location of the file, for example: /etc/ssh/user-authorized-keys/$USER, while keeping the default behaviour if no special configuration is provided.
[0] https://charmhub.io/userdir-ldap
Imported from Launchpad using lp2gh.
date created: 2022-08-03T05:27:02Z
owner: jfguedez
assignee: mertkirpici
the launchpad url