summaryrefslogtreecommitdiff
path: root/machines/xnet/net/sshd.nix
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2025-02-13 15:53:54 -0500
committerKleidi Bujari <mail@4kb.net>2025-02-13 15:53:54 -0500
commit0287a28426b6fc8452e73d037820213638c97659 (patch)
tree5c21bd3cb3f4c9a6cdd679259db3726ca4d3a986 /machines/xnet/net/sshd.nix
parent221d7084c23dce02e3f47ab18db2bfba78efe83b (diff)
downloaddepot-0287a28426b6fc8452e73d037820213638c97659.tar.gz
depot-0287a28426b6fc8452e73d037820213638c97659.tar.bz2
depot-0287a28426b6fc8452e73d037820213638c97659.zip
feb2025 sprint
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" ];