# Sshd core dumps at login attempts after upgrade to Rocky 8.7

**URL:** <https://forums.rockylinux.org/t/sshd-core-dumps-at-login-attempts-after-upgrade-to-rocky-8-7/8005>\
**Category:** Rocky Linux Help & Support\
**Created:** [November 24, 2022, 5:00pm UTC](https://forums.rockylinux.org/t/sshd-core-dumps-at-login-attempts-after-upgrade-to-rocky-8-7/8005 "2022-11-24T17:00:07Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![felfert](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/felfert/32/2259_2.png) [@felfert](https://forums.rockylinux.org/u/felfert)\
**Post date:** [November 29, 2022, 4:47pm UTC](https://forums.rockylinux.org/t/sshd-core-dumps-at-login-attempts-after-upgrade-to-rocky-8-7/8005/21 "2022-11-29T16:47:43Z")

</div>

> [@jlehtone](#):
>
> I was under the impression that openssh in el8 does not use `/etc/ssh/sshd_config.d/`

It does not. That directory and the corresponding Include statement were added by the OP.

---

<div class="post-metadata">

**Author:** ![GregTourte](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/gregtourte/32/2490_2.png) [@GregTourte](https://forums.rockylinux.org/u/GregTourte)\
**Post date:** [November 29, 2022, 5:03pm UTC](https://forums.rockylinux.org/t/sshd-core-dumps-at-login-attempts-after-upgrade-to-rocky-8-7/8005/22 "2022-11-29T17:03:16Z")

</div>

> [@olista](#):
>
> The bug can be reproduced in RHEL 8.6 and 8.7.

Weird that it is reproduced on RHEL 8.6, It didn’t seem to be an issue on Rocky 8.6.

The `Include` directive is definitely described in the `sshd_config` man page, which is why I started using it on Rocky8. However, that configuration is still ork in progress so although It is present in the config file, I didn’t have any configuration files in the folder.

In CentOS 7 where that feature is explicitly not supported, `sshd -t` does return an error when the `Include` directive is used in `sshd_config`.

Unfortunately, I do not have a system available to install CentOS stream nor do we have a licence for RHEL (yet, I hear we are suppose to get one soon though) to test and submit a report for this upstream.

Thanks for all the help and information looking into this.

---

<div class="post-metadata">

**Author:** ![GregTourte](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/gregtourte/32/2490_2.png) [@GregTourte](https://forums.rockylinux.org/u/GregTourte)\
**Post date:** [November 29, 2022, 5:14pm UTC](https://forums.rockylinux.org/t/sshd-core-dumps-at-login-attempts-after-upgrade-to-rocky-8-7/8005/23 "2022-11-29T17:14:59Z")

</div>

> [@felfert](#):
>
> > [@jlehtone](#):
> >
> > I was under the impression that openssh in el8 does not use `/etc/ssh/sshd_config.d/`
> 
> It does not. That directory and the corresponding Include statement were added by the OP.

I have actually now tested adding configuration in the folder with non empty files and it does indeed work in Rocky 8.7. RHEL8 may not create or use the folder by default, but the binary they distribute does support the feature.

It does make sense though in RHEL9 to use as the first line of the `sshd_config` file and fully replace it with files in that directory. I was not planning on using it that way originally, just as adding `match` directives, since I was placing it at the end of the original file.

---

<div class="post-metadata">

**Author:** ![henri9813](https://avatars.discourse-cdn.com/v4/letter/h/e36b37/32.png) [@henri9813](https://forums.rockylinux.org/u/henri9813)\
**Post date:** [May 21, 2023, 5:29pm UTC](https://forums.rockylinux.org/t/sshd-core-dumps-at-login-attempts-after-upgrade-to-rocky-8-7/8005/24 "2023-05-21T17:29:30Z")

</div>

Hello,

Thank you for this thread, you help me to diagnose this fantastic issue ( I spent nearly 1 hour by trying to retrieve my SSH server working thought IPMI )

However, does someone add this bug to the bug tracker ?

BTW, should this also be reported to Openssh project ?

Best regards

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:13am UTC](https://forums.rockylinux.org/t/sshd-core-dumps-at-login-attempts-after-upgrade-to-rocky-8-7/8005/25 "2023-08-25T03:13:50Z")

</div>

Closed on August 25, 2023, 3:13am UTC



[Previous page](https://forums.rockylinux.org/t/sshd-core-dumps-at-login-attempts-after-upgrade-to-rocky-8-7/8005.md?page=1)
