本文介绍了ssh客户端在ddev v1.3.0中位于何处?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在ddev Web容器中使用ssh,直到ddev v1.3.0为止都很好.它去哪了,我该如何找回它?

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?

推荐答案

不幸的是,用于Web容器的基本容器在此升级中删除了openssh-client Debian软件包,但我们没有发现.它将在v1.4.0或更早版本(2018年11月)中修复

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)

与此同时,您可以:

  • (最简单,最快):将webimage: drud/ddev-webserver:20181017_add_ssh添加到您的.ddev/config.yaml中(下次升级时请不要忘记将其删除)或
  • 将这些启动后步骤添加到您的.ddev/config.yaml中:
  • (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"

对于在此版本中丢失openssh-client软件包,我们深表歉意.

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

这篇关于ssh客户端在ddev v1.3.0中位于何处?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-30 05:08