Last active
March 19, 2024 16:52
-
-
Save kernelzeroday/35f17820b56141a0f21afbf596e000f0 to your computer and use it in GitHub Desktop.
ed25519 encryptile dysfunction fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#needs root access, remove the backdoored curve hostkeys that infect everything now and revert to safe rsa | |
rm -v /etc/ssh/*ed25519* | |
sed -i 's/#HostKey\ \/etc\/ssh\/ssh_host_rsa_key/HostKey\ \/etc\/ssh\/ssh_host_rsa_key/g' /etc/ssh/sshd_config | |
systemctl restart ssh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment