Subject: bug#78287: ssh broken on systems with nix-service

From: Sergey Trofimov <[email-masked]>
Date: Wed, 07 May 2025 13:27:11 +0200

Hi Daniel,

Daniel Ziltener <[email-masked]> writes:

> It seems the latest OpenSSH update breaks ssh completely for people who
> have nix-service running. OpenSSH seems to be expecting a certain
> ownership of /nix/store which it does not have on Guix, and then fails
> with "bad ownership or modes for directory /nix/store".

This seem to be a regression from https://issues.guix.gnu.org/77968

Could you please let me know the output of `stat -c '%n %a %U %G' /nix
/nix/store` on your system?

Also, do you manage your ssh configuration using nix?