Skip to content

Instantly share code, notes, and snippets.

View kernelzeroday's full-sized avatar
💭
hello segfault my old friend

kelsey kernelzeroday

💭
hello segfault my old friend
View GitHub Profile
@kernelzeroday
kernelzeroday / remove_ed25519_hostkeys.sh
Last active March 19, 2024 16:52
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