make ssh pubkey auth required

This commit is contained in:
stupidcomputer 2024-06-19 01:03:51 -05:00
parent 1210e716f3
commit fc785fa6dd
1 changed files with 5 additions and 0 deletions

View File

@ -144,6 +144,11 @@
services.openssh = { services.openssh = {
enable = true; enable = true;
ports = [55555]; ports = [55555];
settings = {
X11Forwarding = false;
PermitRootLogin = "no";
PasswordAuthentication = false;
};
}; };
services.vaultwarden.enable = true; services.vaultwarden.enable = true;