summaryrefslogtreecommitdiff
path: root/machines/xnet/net/sshd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/xnet/net/sshd.nix')
-rw-r--r--machines/xnet/net/sshd.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/machines/xnet/net/sshd.nix b/machines/xnet/net/sshd.nix
index b7cacc2..9d7976e 100644
--- a/machines/xnet/net/sshd.nix
+++ b/machines/xnet/net/sshd.nix
@@ -22,10 +22,10 @@ in
type = "ed25519";
}];
settings = {
- UsePAM = true;
+ UsePAM = false;
X11Forwarding = false;
- PermitRootLogin = "yes";
- # PasswordAuthentication = false;
+ PermitRootLogin = "prohibit-password";
+ PasswordAuthentication = false;
Ciphers = [ "chacha20-poly1305@openssh.com" ];
Macs = [ "hmac-sha2-512-etm@openssh.com" ];
KexAlgorithms = [ "curve25519-sha256@libssh.org" ];