Allow legacy MACs and KexAlgorithms for CentOS VM

This commit is contained in:
coolneng 2021-03-31 10:08:58 +02:00
parent d4bb02a494
commit bafbf5daba
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 14 additions and 0 deletions

View File

@ -57,6 +57,20 @@
services.openssh = {
enable = true;
permitRootLogin = "yes";
macs = [
"hmac-sha2-512-etm@openssh.com"
"hmac-sha2-256-etm@openssh.com"
"umac-128-etm@openssh.com"
"hmac-sha2-512"
"hmac-sha2-256"
"umac-128@openssh.com"
"hmac-sha1"
];
kexAlgorithms = [
"curve25519-sha256@libssh.org"
"diffie-hellman-group-exchange-sha256"
"diffie-hellman-group1-sha1"
];
};
# Create coace user