Where did the ssh client go in ddev v1.3.0?

2019-07-30 00:01发布

I use ssh inside the ddev web container, and it was there just fine until ddev v1.3.0. Where did it go and how do I get it back?

标签: ddev
1条回答
贼婆χ
2楼-- · 2019-07-30 00:34

Unfortunately the base container used for the web container dropped the openssh-client Debian package in this upgrade and we didn't catch that. It will be fixed in v1.4.0 or sooner (November 2018)

In the meantime, you can:

  • (easiest and fastest): Add webimage: drud/ddev-webserver:20181017_add_ssh to your .ddev/config.yaml (don't forget to remove it next time you upgrade) or
  • Add these post-start steps to your .ddev/config.yaml:

hooks:
  post-start:
    - exec: sudo bash -c "apt-get update && apt-get install -y openssh-client || true"

We do apologize for losing the openssh-client package in this release.

查看更多
登录 后发表回答