Skip to content

Commit

Permalink
mistral: disallow logins without ssh keys
Browse files Browse the repository at this point in the history
  • Loading branch information
moni-dz committed Dec 27, 2024
1 parent ad4d895 commit 06dce43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hosts/mistral/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
enable = true;
settings = {
GatewayPorts = "yes";
PermitRootLogin = "yes";
PasswordAuthentication = false;
PermitRootLogin = "prohibit-password";
};
};

Expand Down

0 comments on commit 06dce43

Please sign in to comment.