mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 09:56: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;
|
enable = true;
|
||||||
ports = [ 22 ];
|
ports = [ 22 ];
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
allowSFTP = true;
|
||||||
settings = {
|
settings = {
|
||||||
X11forwarding = true;
|
X11forwarding = true;
|
||||||
PermitRootLogin = "no";
|
PermitRootLogin = "no";
|
||||||
passwordAuthentication = false;
|
passwordAuthentication = true;
|
||||||
kbdInteractiveAuthentication = false;
|
kbdInteractiveAuthentication = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
environment.systemPackages = with pkgs; [ sshfs ];
|
environment.systemPackages = with pkgs; [ sshfs ];
|
||||||
|
|
Loading…
Reference in a new issue