Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS updates delete /var/root/.ssh #40

Open
lrworth opened this issue May 31, 2022 · 1 comment
Open

macOS updates delete /var/root/.ssh #40

lrworth opened this issue May 31, 2022 · 1 comment

Comments

@lrworth
Copy link

lrworth commented May 31, 2022

I followed the instructions to add an entry to /var/root/.ssh/config, which worked until a macOS system update (to 12.4) deleted that file.

It's infeasible for me to reproduce this problem, but for now I've added the entry to /etc/ssh/ssh_config.d/nix-docker and will check this issue again for the next few system updates.

Please comment on this issue if:

  • You have found the same problem, or
  • You know whether /etc/ssh/ssh_config.d/nix-docker is a viable alternative to /var/root/.ssh/config

(If the latter is true, we should update the README)

@lrworth
Copy link
Author

lrworth commented May 31, 2022

Also, I needed to add StrictHostKeyChecking accept-new for nix-docker, because the host was not listed in any known_hosts file. Unsure what is actually best practice here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant