Allow password w/ local ssh connections

This commit is contained in:
Henrik Lissner 2020-01-16 18:57:41 -05:00
parent a6ec7bd020
commit 38d7725c3a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -6,6 +6,12 @@
forwardX11 = true;
permitRootLogin = "no";
passwordAuthentication = false;
# Allow local LAN to connect with passwords
extraConfig = ''
Match address 192.168.0.0/24
PasswordAuthentication yes
'';
};
users.users.hlissner.openssh.authorizedKeys.keys = [