fix deprecated ssh settings

This commit is contained in:
notgne2 2023-02-02 18:23:36 -07:00
parent 379323c542
commit 098f14a190
Signed by: notgne2
SSH Key Fingerprint: SHA256:qlFCAimT/PvNIG3u+aYT9pIqFCWgu6sNsWjpV1vHLIE

View File

@ -79,8 +79,8 @@ all: {
# Allow ssh # Allow ssh
enable = lib.mkDefault true; enable = lib.mkDefault true;
# lol no # lol no
permitRootLogin = lib.mkDefault "no"; settings.PermitRootLogin = lib.mkDefault "no";
passwordAuthentication = lib.mkDefault false; settings.PasswordAuthentication = lib.mkDefault false;
# allow reverse ssh port shit to be public sometimes # allow reverse ssh port shit to be public sometimes
gatewayPorts = lib.mkDefault "clientspecified"; gatewayPorts = lib.mkDefault "clientspecified";
extraConfig = '' extraConfig = ''