This commit is contained in:
Hadi 2024-08-22 16:07:39 +02:00
parent e4fce0a17a
commit a2d4d36289

View File

@ -5,8 +5,9 @@
ports = [ 22 ]; ports = [ 22 ];
settings = { settings = {
PasswordAuthentication = true; PasswordAuthentication = true;
AllowUsers = AllowUsers = [
config.var.username; # Allows all users by default. Can be [ "user1" "user2" ] config.var.username
]; # "null" allows all users by default. Can be [ "user1" "user2" ]
UseDns = true; UseDns = true;
X11Forwarding = false; X11Forwarding = false;
PermitRootLogin = PermitRootLogin =