Greetings all,
I have deleted all the ssh_host_* keys and generated my own ssh_host_ed25519_key, ssh_host_ed25519_key.pub, ssh_host_rsa_key, and ssh_host_rsa_key.pub. However, upon restarting the computer, the sshd(8) re-generated the deleted keys ssh_host_ecdsa_key and ssh_host_ecdsa_key.pub. I have reviewed the relevant man pages, but cannot find how to prevent this from happening.
Any advise would be appreciated.
Kindest regards,
M
I have deleted all the ssh_host_* keys and generated my own ssh_host_ed25519_key, ssh_host_ed25519_key.pub, ssh_host_rsa_key, and ssh_host_rsa_key.pub. However, upon restarting the computer, the sshd(8) re-generated the deleted keys ssh_host_ecdsa_key and ssh_host_ecdsa_key.pub. I have reviewed the relevant man pages, but cannot find how to prevent this from happening.
Any advise would be appreciated.
Kindest regards,
M