ssh connection to disabled root user exits with zero code
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| cloud-init |
Fix Released
|
Low
|
Unassigned | ||
Bug Description
cloudinit/
This gives zero exit code. Automated tools (like parallel-ssh) are mislead. Probably should be:
cloudinit/
+ ssh connection to disabled root user exits with zero code
Thats an interesting suggestion.
I don't think there'd be any significant fallout of changing that in trunk.
fwiw, it is ocnfigurable, by setting 'disable_root_opts'
default value is:
DISABLE_ROOT_OPTS = ("no-port-
"no-X11-
"rather than the user \\\"root\
A fix for this landed in https:/
This bug is believed to be fixed in cloud-init in version 20.3. If this is still a problem for you, please make a comment and set the state back to New
Thank you.
Tracked in Github Issues as https:/