Fix deprecation in OpenSSH Module

This commit is contained in:
Ciapa 2023-04-16 20:36:14 +00:00
parent cf19484d37
commit 97203c3580
1 changed files with 18 additions and 19 deletions

View File

@ -7,25 +7,24 @@
settings = { settings = {
PasswordAuthentication = false; PasswordAuthentication = false;
PermitRootLogin = "prohibit-password"; PermitRootLogin = "prohibit-password";
}; Ciphers = [
ciphers = [
"chacha20-poly1305@openssh.com" "chacha20-poly1305@openssh.com"
"aes256-gcm@openssh.com" "aes256-gcm@openssh.com"
"aes256-ctr" "aes256-ctr"
"aes128-gcm@openssh.com" "aes128-gcm@openssh.com"
]; ];
macs = [ Macs = [
"umac-128-etm@openssh.com" "umac-128-etm@openssh.com"
"hmac-sha2-256-etm@openssh.com" "hmac-sha2-256-etm@openssh.com"
"hmac-sha2-512-etm@openssh.com" "hmac-sha2-512-etm@openssh.com"
"hmac-sha2-512" "hmac-sha2-512"
]; ];
kexAlgorithms = [ KexAlgorithms = [
"curve25519-sha256@libssh.org" "curve25519-sha256@libssh.org"
"diffie-hellman-group16-sha512" "diffie-hellman-group16-sha512"
"diffie-hellman-group18-sha512" "diffie-hellman-group18-sha512"
"curve25519-sha256" "curve25519-sha256"
]; ];
}; };
};
} }