mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 15:46:34 +01:00
Tempory allow ssh login
This commit is contained in:
parent
5714d37245
commit
229d1c5171
1 changed files with 3 additions and 2 deletions
|
@ -14,11 +14,12 @@ in
|
|||
enable = true;
|
||||
ports = [ 22 ];
|
||||
openFirewall = true;
|
||||
allowSFTP = true;
|
||||
settings = {
|
||||
X11forwarding = true;
|
||||
PermitRootLogin = "no";
|
||||
passwordAuthentication = false;
|
||||
kbdInteractiveAuthentication = false;
|
||||
passwordAuthentication = true;
|
||||
kbdInteractiveAuthentication = true;
|
||||
};
|
||||
};
|
||||
environment.systemPackages = with pkgs; [ sshfs ];
|
||||
|
|
Loading…
Reference in a new issue