Set up SSH server on desktop

master
Sven Slootweg 7 years ago
parent 67ad8736eb
commit 0df361b5c3

@ -149,5 +149,15 @@ in {
}; };
};*/ };*/
services.openssh = {
enable = true;
passwordAuthentication = false;
challengeResponseAuthentication = false;
};
users.users.root.openssh.authorizedKeys.keys = [
(builtins.readFile ../private/joepie91.pub)
];
nix.useSandbox = true; nix.useSandbox = true;
} }

Loading…
Cancel
Save