After putting my image from an RPi 3B on a SD card to run in my RPi Zero W, I get the following when I run sshd -t:
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ed25519_key
I was told my 3B image would run on the zero if I did an update and upgrade first, which I did. But, I've run into issues. It seems to not be able to find anything. Numerous, "No such file or directory" error messages. I'm unable to reinstall the ssh keys. When I execute, 'sudo ssh-keygen -A', it acts like it's working for a minute then comes back to the prompt, but I still get the error above when I try to run sshd -t.
I ran another update/upgrade, to no avail. I also got an error message referencing my sshd-config file and an unknown parameter. It was supposed to be 'Allowusers' and somehow the 'u' got erased! It said, 'Allowsers'! And I haven't opened that file since I set up sshd! I know for a fact I haven't.
In any case, I would appreciate some advice on how to proceed to get sshd running again as well as fix the path information. The image clearly didn't transfer over as easily as I was led to believe. Thanks.