-
Notifications
You must be signed in to change notification settings - Fork 76
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
sshd failed to start after reboot 5.4.0-lts > 5.5.0-lts #1832
Comments
Ok, update. I made an assumption it was the HostKey. Based on the line indication it was recent changes in sshd. Found this. I had a Match block and boa added the ending lines? Either way, the Match block has to be at the end or you need to use a Previous
Fixed
This is what happens when you deviate from BOA defaults and use your server for other things. ;) |
Looks like both issues mattered. I enabled the older HostKey to see if sshd -t still threw an error or fell back to defaults. Yep - not happy.
|
Hello, Unfortunately, BOA currently assumes no modifications are made to the SSHD configuration. While we do have exceptions in place for custom MySQL, lshell, CSF, and PHP configurations—ensuring those customizations persist through Barracuda upgrades—there is no such exception for SSHD configurations. This might be worth considering as a future addition to allow SSHD customizations to survive updates as well. Thank you for your understanding, and please let us know if you have any questions or suggestions. |
I've got a few older boa servers that have been dragged along over time (not even hosting drupal - just some vhosts) - this one is PRETTY old. I did an update today and sshd would not start.
Had to use the web console via my provider (linode) to get in.
The issue may be linked to this function.
boa/lib/functions/system.sh.inc
Line 8257 in 74f2e6c
I'm guessing at some point you went back to the default location for sshd files. Looks like /usr/etc was cleared out.
My default /etc/ssh/sshd_config had the following still enabled and were never commented out.
sshd couldn't find the keys so...
Which was not the right error... but... sshd wouldn't start. This is probably an edge case as the server is quite old as you can see.
Proof positive that your stack is solid! May not warrant a fix for scanning /etc/ssh/sshd_config but I thought I'd let you know.
The text was updated successfully, but these errors were encountered: