mirror of
https://github.com/jtesta/ssh-audit.git
synced 2025-12-28 17:32:06 +01:00
Updated Redhat & Fedora (markdown)
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user