# 重建时找不到文件 /etc/pam.d/sshd

**URL:** <https://meta.discourse.org/t/no-such-file-or-directory-etc-pam-d-sshd-on-rebuild/149953>\
**Category:** Product Support\
**Created:** [2020 年4 月 30 日 17:49 UTC](https://meta.discourse.org/t/no-such-file-or-directory-etc-pam-d-sshd-on-rebuild/149953 "2020-04-30T17:49:25Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

作者： ![TheBaby5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thebaby5/32/178897_2.png) [@TheBaby5](https://meta.discourse.org/u/TheBaby5)\
发布日期： [2020 年5 月 1 日 00:02 UTC](https://meta.discourse.org/t/no-such-file-or-directory-etc-pam-d-sshd-on-rebuild/149953/6 "2020-05-01T00:02:50Z")

</div>

## 仍然收到错误…

````plaintext
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 7 (delta 2), reused 6 (delta 2), pack-reused 0
Unpacking objects: 100% (7/7), 2.71 KiB | 693.00 KiB/s, done.
From https://github.com/discourse/discourse_docker
   4177d57..8c8dbd0 master -> origin/master
Updating 4177d57..8c8dbd0
Fast-forward
 templates/sshd.template.yml | 49 -------------------------------------------------
 1 file changed, 49 deletions(-)
 delete mode 100644 templates/sshd.template.yml
root@maya:/var/discourse# ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
cat: templates/sshd.template.yml: No such file or directory
cd /pups && git pull && /pups/bin/pups --stdin
/usr/bin/docker: invalid reference format: repository name must be lowercase.
See '/usr/bin/docker run --help'.
cat: cids/app_bootstrap.cid: No such file or directory
"docker rm" requires at least 1 argument.
See 'docker rm --help'.
Usage: docker rm [OPTIONS] CONTAINER [CONTAINER...]
Remove one or more containers
rm: cannot remove 'cids/app_bootstrap.cid': No such file or directory
**引导失败** 请向上滚动查看之前的错误消息，可能不止一条。
./discourse-doctor 可能有助于诊断问题。```
````

---

_[View the full topic](https://meta.discourse.org/t/no-such-file-or-directory-etc-pam-d-sshd-on-rebuild/149953)._
