openssh: force pubkey auth
This commit is contained in:
parent
680ab1a6f9
commit
593f02b740
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
settings = {
|
settings = {
|
||||||
KbdInteractiveAuthentication = false;
|
KbdInteractiveAuthentication = false;
|
||||||
PasswordAuthentication = lib.mkForce false;
|
PasswordAuthentication = lib.mkForce false;
|
||||||
PubkeyAuthentication = true;
|
PubkeyAuthentication = lib.mkForce true;
|
||||||
PermitRootLogin = lib.mkForce "no";
|
PermitRootLogin = lib.mkForce "no";
|
||||||
StreamLocalBindUnlink = "yes";
|
StreamLocalBindUnlink = "yes";
|
||||||
GatewayPorts = "clientspecified";
|
GatewayPorts = "clientspecified";
|
||||||
|
|
Loading…
Reference in a new issue