mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
still ssh
This commit is contained in:
parent
57526125cb
commit
11392218c8
1 changed files with 2 additions and 1 deletions
|
|
@ -19,7 +19,8 @@
|
|||
# SSH Server configuration
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
ports = [ 22 ];
|
||||
settings.openFirewall = true;
|
||||
settings.PasswordAuthentication = false; # Recommended: use SSH keys
|
||||
settings.PermitRootLogin = "no"; # Recommended
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue