dot_testing/boxes/netbox/ssh.nix
2024-06-23 13:01:12 -05:00

14 lines
222 B
Nix

{ lib, config, pkgs, ... }:
{
services.openssh = {
enable = true;
ports = [55555];
settings = {
X11Forwarding = false;
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
}