diff --git a/Redhat-&-Fedora.md b/Redhat-&-Fedora.md index 5f40b2b..64ae070 100644 --- a/Redhat-&-Fedora.md +++ b/Redhat-&-Fedora.md @@ -8,6 +8,9 @@ printf "KexAlgorithms sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com, ``` ``` +sudo rm -f /etc/ssh/ssh_host_* +sudo ssh-keygen -t rsa -b 4096 -f /etc/ssh/ssh_host_rsa_key -N "" +sudo ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N "" sudo systemctl restart sshd ```