try fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user