Observations
I was following along with the guide at https://nix.dev/tutorials/nixos/distributed-builds-setup.html , and I was stuck at the part asking me to run
nixos-rebuild switch --no-flake --target-host root@remotemachine
Problem
I was running into an error produced by ssh:
root@localhost: Permission denied (publickey)
Approaches
This was because I had the sshd option PermitRootLogin set to no, as per common security practice. Others may be running into this issue and have forgotten that they have this option set: it might be helpful to add a small reminder around there to have one check their options if they can't run the rebuild.
Willing to help?
I wouldn't mind!
Priorities
Add 👍 to issues you find important.
Observations
I was following along with the guide at https://nix.dev/tutorials/nixos/distributed-builds-setup.html , and I was stuck at the part asking me to run
Problem
I was running into an error produced by ssh:
Approaches
This was because I had the sshd option
PermitRootLoginset tono, as per common security practice. Others may be running into this issue and have forgotten that they have this option set: it might be helpful to add a small reminder around there to have one check their options if they can't run the rebuild.Willing to help?
I wouldn't mind!
Priorities
Add 👍 to issues you find important.