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

僤鯓⒐⒋嵵緔 提交于 2019-12-11 13:38:31

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/52938356/where-did-the-ssh-client-go-in-ddev-v1-3-0

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!