I have these needs from time to time in the web container:
ddev drush rsync
)ddev composer
with access to private repositoriesSo how can I get my keys into the container?
As of ddev v1.4.0+ ddev supports your ssh keys in the container without mounting them there.
You can authenticate and add your keys via ddev auth ssh
, and they will then be available from every project. This works for ssh from inside the container, private composer repositories, and drush rsync
.
See https://ddev.readthedocs.io/en/stable/users/basics/cli-usage/#ssh-into-containers for docs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With