Open ip1981 opened 8 years ago
https://github.com/NixOS/nixops/blob/master/nix/virtualbox-image-nixops.nix puts root SSH key into /root/.vbox-nixops-client-key.
/root/.vbox-nixops-client-key
Are there any reasons not to put it into /root/.ssh/authorized_keys ?
/root/.ssh/authorized_keys
This is related to https://github.com/NixOS/nixpkgs/issues/15841:
I made
{ # ... services.openssh.authorizedKeysFiles = lib.mkForce [ "/etc/ssh/authorized_keys.d/%u" "/root/.ssh/authorized_keys" ]; # ... }
And it broke my VBox deployments :-)
https://github.com/NixOS/nixops/blob/master/nix/virtualbox-image-nixops.nix puts root SSH key into
/root/.vbox-nixops-client-key
.Are there any reasons not to put it into
/root/.ssh/authorized_keys
?This is related to https://github.com/NixOS/nixpkgs/issues/15841:
I made
And it broke my VBox deployments :-)