You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Modifying sshd config port config and rebooting fedora coreos breaks the ssh service.
Reproduction steps
Steps to reproduce the behavior:
install fedora coreos on digital ocean
edit the file /etc/ssh/sshd_config by modifying the Port to 2222
reboot the server
Expected behavior
2 possible correct behaviours
the file is not managed by the ignition / ign process and the OS reboot using the correct port
the file is managed by the ignition / ign process and it revert the sshd_config to the Port defined by the config. ( something that was common with the original CoreOs )
In either possible acceptable behavior ssh should still be working and it should still be possible to ssh to the server, wether with the default port or new port
Actual behavior
The sshd service is broken and it is not possible anymore to login to the droplet. See below the extract from error log when I try to login throug the VNC Client ( which is not possible because there are no default password )
The problem here is SELinux needs to be told that the SSH port has been changed. Unfortunately it's not as easy as it should be to do that in FCOS right now. See context in #396 (comment) and a potential workaround in #396 (comment).
Describe the bug
Modifying sshd config port config and rebooting fedora coreos breaks the ssh service.
Reproduction steps
Steps to reproduce the behavior:
Expected behavior
2 possible correct behaviours
In either possible acceptable behavior ssh should still be working and it should still be possible to ssh to the server, wether with the default port or new port
Actual behavior
The sshd service is broken and it is not possible anymore to login to the droplet. See below the extract from error log when I try to login throug the VNC Client ( which is not possible because there are no default password )
System details
Ignition config
Additional information
Add any other information about the problem here.
The text was updated successfully, but these errors were encountered: