refactor(luna): only permit secure KexAlgos in ssh
This commit is contained in:
parent
1d500bac80
commit
6cb32faa8c
@ -5,6 +5,13 @@
|
|||||||
settings = {
|
settings = {
|
||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
PermitRootLogin = "prohibit-password";
|
PermitRootLogin = "prohibit-password";
|
||||||
|
KexAlgorithms = [
|
||||||
|
"curve25519-sha256"
|
||||||
|
"curve25519-sha256@libssh.org"
|
||||||
|
"diffie-hellman-group16-sha512"
|
||||||
|
"diffie-hellman-group18-sha512"
|
||||||
|
"sntrup761x25519-sha512@openssh.com"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
ports = [
|
ports = [
|
||||||
2200
|
2200
|
||||||
|
Loading…
Reference in New Issue
Block a user