Allow password w/ local ssh connections
This commit is contained in:
parent
a6ec7bd020
commit
38d7725c3a
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue