-
-
Save betaboon/1aa96559eed13d8408b9d91a631d9078 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ...}: | |
{ | |
services.openssh = { | |
enable = true; | |
permitRootLogin = "no"; | |
extraConfig = '' | |
## Permit local root login | |
Match Address 127.0.0.1 | |
PermitRootLogin yes | |
''; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment