I can generate new dsa, ecdsa and rsa keys using the commands in the article. However, I also find an ed25519 key in /etc/ssh. It was dated the same as the other keys - the data I installed the original OS. Employing my usual monkey see monkey copy/paste/tweak approach I tried the command
The seems to have worked. It generated keypair files, a fingerprint and a randomart image. The -N and -t parameters seem to be correct according to the man page.
Code: Select all
ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -N '' -t ed25519
Can anyone confirm that I have supplied all of the necessary inputs to create a valid ed2519 key? Or a way I can test the key for validity?