I've got a use-case where I want to run a secondary unprivileged sshd that has its own set of settings and should not inherit the user config. Additionally, I want to only allow a certain key to connect to it.
In openssh, there is the AuthorizedKeysFile option that I can point at a crafted file for that purpose but openssh is being annoying trying to berate me how I should set up permissions for my host key (I don't care that /tmp/'s permissions aren't "secure" for my unprivileged sshd; TYVM).
I'm not aware of an equivalent option in dropbear; would be great if such an option could be added.
Edit: For anyone else coming across with the same issue: StrictModes=no disables this behaviour in OpenSSH.
I've got a use-case where I want to run a secondary unprivileged sshd that has its own set of settings and should not inherit the user config. Additionally, I want to only allow a certain key to connect to it.
In openssh, there is the
AuthorizedKeysFileoption that I can point at a crafted file for that purpose but openssh is being annoying trying to berate me how I should set up permissions for my host key (I don't care that/tmp/'s permissions aren't "secure" for my unprivileged sshd; TYVM).I'm not aware of an equivalent option in dropbear; would be great if such an option could be added.
Edit: For anyone else coming across with the same issue:
StrictModes=nodisables this behaviour in OpenSSH.