Skip to content

Instantly share code, notes, and snippets.

@kernelzeroday
Last active March 19, 2024 16:52
Show Gist options
  • Save kernelzeroday/35f17820b56141a0f21afbf596e000f0 to your computer and use it in GitHub Desktop.
Save kernelzeroday/35f17820b56141a0f21afbf596e000f0 to your computer and use it in GitHub Desktop.
ed25519 encryptile dysfunction fix
#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