bert: Disable ssh password auth

This commit is contained in:
Chandler Swift 2024-11-06 00:00:16 -06:00
parent 808d65206a
commit c72358ace8
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F

View file

@ -51,6 +51,7 @@
# Enable the OpenSSH daemon.
services.openssh.enable = true;
services.openssh.settings.PasswordAuthentication = false;
users.users.root.openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhPyyqS3BGYor3zLbjc8hZuhem3mS8TNmvWogXcnz/b chandler@chandlerswift.com'' ];
networking.firewall.allowedTCPPorts = [