diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-21 16:37:49 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-21 16:37:49 -0800 |
commit | 1045387ba8d162c24dffa10b17f3bf4749e69923 (patch) | |
tree | 04abc21baa753812d717514c1691ef9a2f1745a5 /hosts/common/system | |
parent | devel: create new directory for devel modules (diff) | |
download | world-1045387ba8d162c24dffa10b17f3bf4749e69923.tar.gz |
ssh: authenticate only using ssh key
Diffstat (limited to 'hosts/common/system')
-rw-r--r-- | hosts/common/system/ssh.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/common/system/ssh.nix b/hosts/common/system/ssh.nix index 0ecca80..cb7c47d 100644 --- a/hosts/common/system/ssh.nix +++ b/hosts/common/system/ssh.nix @@ -2,4 +2,5 @@ # Enable the OpenSSH daemon. services.openssh.enable = true; services.openssh.permitRootLogin = "yes"; + services.openssh.passwordAuthentication = false; } |