This commit is contained in:
2025-08-21 12:02:16 +03:00
parent c4a3f6b6a7
commit 23675e3ba9
3 changed files with 7 additions and 17 deletions

View File

@@ -32,11 +32,12 @@
services.openssh = {
enable = true;
ports = [ 22 ];
settings = {
KexAlgorithms = [ "curve25519-sha256@libssh.org" ];
Ciphers = [ "chacha20-poly1305@openssh.com" ];
Macs = [ "hmac-sha2-512-etm@openssh.com" ];
};
# fucks up ssh connections from iphone if you enable this
# settings = {
# KexAlgorithms = [ "curve25519-sha256@libssh.org" ];
# Ciphers = [ "chacha20-poly1305@openssh.com" ];
# Macs = [ "hmac-sha2-512-etm@openssh.com" ];
# };
};
security.sudo.enable = true;