lando / drupal

The Official Drupal Lando plugin
https://docs.lando.dev/drupal
GNU General Public License v3.0
16 stars 17 forks source link

SSH known_hosts file is overwritten #19

Closed bfuzze closed 3 months ago

bfuzze commented 2 years ago

While using the Drupal 9 recipe, my known hosts file gets clobbered every time I restart. I'm left with a broken symlink owned by root.

image

I found a similar issue, but it is from a couple years ago and was unresolved: https://github.com/lando/lando/issues/2278

I have gone through my config and can not find anything custom that would be causing this, so I'm looking for ideas and/or work-arounds.

AaronFeledy commented 3 months ago

@bfuzze Did you ever get it working?

The /user directory is actually a mount pointing to the home directory on your host. So if that symlink is broken, then either docker couldn't mount your home directory or ~/.ssh/known_hosts doesn't exist or can't be accessed.

Given that there have been no updates here for two years I'm going to assume this is resolved and close it out. Please let us know if it's still an issue.