refactor(luna): only permit secure KexAlgos in ssh

This commit is contained in:
Price Hiller 2023-10-28 00:34:31 -05:00
parent 1d500bac80
commit 6cb32faa8c
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -5,6 +5,13 @@
settings = {
PasswordAuthentication = false;
PermitRootLogin = "prohibit-password";
KexAlgorithms = [
"curve25519-sha256"
"curve25519-sha256@libssh.org"
"diffie-hellman-group16-sha512"
"diffie-hellman-group18-sha512"
"sntrup761x25519-sha512@openssh.com"
];
};
ports = [
2200