Description of problem:
On FC9 Preview when a 'yum install sshd' is done there are no keys installed.
I did the following:
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key
Version-Release number of selected component (if applicable):
FC9 - Preview
Steps to Reproduce:
1. install sshd
2. Look in /etc/ssh/ to see if any keys are there
3. None found
sshd will refuse to start without the keys
I would expect the install script to install sshd and enable it in the startup
scripts and start the program after it is installed.
This is done by the sshd startup script, not the package installation.
It certainly didn't install the keys when I started it. I tried running it and
it complained about keys not being there.
How did you try to run sshd?
I cannot reproduce your problem here. If there are no keys in /etc/ssh/ then
'service sshd start' finely generates the keys for me.