-
Notifications
You must be signed in to change notification settings - Fork 59
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
ssh_authorized_keys: and no_create_home: true doesnt work #316
Comments
Workaround
drop in
example key
|
Thanks for the report. I think there are no better ways to solve this other than your workaround, but we can certainly improve UX and docs.
@keithy for reference, can you also post here what was the original failure mode/output/logs you saw then trying to use |
It booted and provisioned machine with SSHd rejecting login attempts Ignition doesn't raise an error
First sign of trouble
|
I know you guys are focusing on RHCOS where you have a mothership to sort things out later, but I was kind of hoping not to have to make everything into a workaround. Given that FCOS is such a paired down system, I do think that some thought could go into adding things to compensate, and enable more. One candidate would be to support the sshd dropins out of the box (it has been requested as an sshd feature), a package/portable services installer is next on my list, and then the safe layered chroot login shell ( http://gitlab.com/keithy/layerbox ) I think that there is a compromise solution to this, and that is to enable ignition to have a registry of "includes", or multiple ignition.files, so that a "workaround" or package loading solution, can be supplied as a plug-in called up from the main ignition file. |
@keithy your feedback is appreciated, but I'd rather not throw all those topics into this ticket. SSHd supporting config fragments would indeed be nice. Most of the time we rely (and block) on relevant upstream developers implementing this kind of features. EDIT: we are already tracking the "SSHd config fragments" in #138 (comment) and https://bugzilla.mindrot.org/show_bug.cgi?id=2468#c8. |
That's the one. ( https://openssh-bugs.mindrot.narkive.com/XaKiymgd/bug-2468-new-option-to-include-external-files-to-sshd-config ). I have a plan for creating an ecosystem/market of plug-in modules that can be included at the ignition provisioning stage. Will release something later on this week. This provides a downstream place to publish such things. |
but it could
https://unix.stackexchange.com/a/422795
The text was updated successfully, but these errors were encountered: