dot_testing/boxes/netbox/ssh.nix

14 lines
222 B
Nix
Raw Permalink Normal View History

2024-06-20 20:00:55 -05:00
{ lib, config, pkgs, ... }:
{
services.openssh = {
enable = true;
ports = [55555];
settings = {
X11Forwarding = false;
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
}