feat: added ssh-server
This commit is contained in:
parent
7724f8cc5f
commit
55a252b632
3 changed files with 15 additions and 1 deletions
13
modules/sec_auth/ssh-server.nix
Normal file
13
modules/sec_auth/ssh-server.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{lib, ...}: {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
|
||||
ports = lib.mkDefault [38742];
|
||||
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
PermitRootLogin = "yes";
|
||||
X11Forwarding = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue