Legion: temp revert username change, enable key-based root login only
This commit is contained in:
parent
47300973eb
commit
1426985da6
|
@ -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
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue