Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
/etc/ssh/ssh_config is not correctly populated #1288
I can't do functional test as it's just normal setup for Drupal 8 recipe. This works in our other computers but fails just in 1.
Tell us about your setup
This problem occurs on both Lando v3.0.0-rc.1 and v3.0.0-beta.47.
Tell us about the command you were running
The project is running composer install inside the app but fails when GIT submodules need to get downloaded. The reason is that it can't find the ssh keys. When I checked the contents of /etc/ssh/ssh_config inside the container on my computer and on the problematic computer then I saw it was missing IdentityFile locations. On problematic container it's:
On the working environment it's:
When we manually added the line then git submodules where pulled successfully.
One other way we tested this was trying
on host and in container. It failed inside the docker container but connected successfully in host.
The problem happened on v3.0.0-beta.47. We downloaded latest Lando and used the uninstalled script it had (also uninstalled Docker). Then we deleted the ~/.lando folder. After that installed the latest v3.0.0-rc.1, did 'lando start' and still the same problem. Currently it's fixed with the manual entry to /etc/ssh/ssh_config.
Would like to know how Lando populates the etc/ssh/ssh_config inside the container. What could be the reason it's failing?