# Unexpected rebuild error with sshd template

**URL:** <https://meta.discourse.org/t/unexpected-rebuild-error-with-sshd-template/127454>\
**Category:** Self-hosting\
**Created:** [3 בספטמבר,‏ 2019,‏ 4:54am UTC](https://meta.discourse.org/t/unexpected-rebuild-error-with-sshd-template/127454 "2019-09-03T04:54:47Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [3 בספטמבר,‏ 2019,‏ 7:38pm UTC](https://meta.discourse.org/t/unexpected-rebuild-error-with-sshd-template/127454/5 "2019-09-03T19:38:20Z")

</div>

> [@tobiaseigen](#):
>
> I suspect alot of sites are going to be affected by this.

Hmmm looks like the sshd template was [removed from the standalone sample in Jan 2016](https://github.com/discourse/discourse_docker/pull/215), which is why my tests with a new install all work correctly.

> [@sam](#):
>
> ssh in the container is a ninja option now, even at scale we do not use it and prefer to use `docker exec` it is just way too fragile and not worth carrying when  
> docker exec gets us all the way there 99% of the time

That said, [this commit](https://github.com/discourse/discourse_docker/commit/1a1ea032c33e8fb241f0d0e6f27ff5dcb65adc01) should fix it. Thanks @Stranik and @gerhard!

---

_[View the full topic](https://meta.discourse.org/t/unexpected-rebuild-error-with-sshd-template/127454)._
