How can I generate a new HOST SSH key for my Raspberry Pi using a 4096-bit key (on Raspian Stretch)? I've read any number of tutorials that explain how to regenerate the host SSH key, like this one:
https://www.cyberciti.biz/faq/howto-regenerate-openssh-host-keys/
But using this method leaves me with a 2048-bit host key, as far as I can tell. I also found this question:
https://unix.stackexchange.com/questions/127926/generate-own-stronger-rsa-host-key-for-openssh
Which comes maddeningly close to answering my question, but never actually specifies how to generate the host key. If this is something I can't do (or shouldn't be doing), I'd like to understand why as well.