Legion: temp revert username change, enable key-based root login only

This commit is contained in:
Evie Litherland-Smith 2024-03-08 07:14:19 +00:00
parent 47300973eb
commit 1426985da6
2 changed files with 2 additions and 1 deletions

View file

@ -171,6 +171,7 @@
Legion = systemConfig { Legion = systemConfig {
hostName = "Legion"; hostName = "Legion";
user = "xenia";
systemModules = [ systemModules = [
./services/nix-serve.nix ./services/nix-serve.nix
./services/caddy.nix ./services/caddy.nix

View file

@ -4,7 +4,7 @@
ports = [22]; ports = [22];
settings = { settings = {
UseDns = true; UseDns = true;
PermitRootLogin = "no"; PermitRootLogin = "without-password";
PasswordAuthentication = false; PasswordAuthentication = false;
GatewayPorts = "yes"; GatewayPorts = "yes";
LogLevel = "VERBOSE"; LogLevel = "VERBOSE";