|Summary:||sshd install doesn't setup keys|
|Product:||[Fedora] Fedora||Reporter:||David Wilson <david>|
|Component:||openssh||Assignee:||Tomas Mraz <tmraz>|
|Status:||CLOSED NOTABUG||QA Contact:||Fedora Extras Quality Assurance <extras-qa>|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2008-05-07 17:03:27 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
Description David Wilson 2008-05-07 15:00:13 UTC
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 How reproducible: Very Steps to Reproduce: 1. install sshd 2. Look in /etc/ssh/ to see if any keys are there 3. None found Actual results: sshd will refuse to start without the keys Expected results: I would expect the install script to install sshd and enable it in the startup scripts and start the program after it is installed. Additional info:
Comment 1 Bill Nottingham 2008-05-07 17:03:27 UTC
This is done by the sshd startup script, not the package installation.
Comment 2 David Wilson 2008-05-07 20:02:26 UTC
It certainly didn't install the keys when I started it. I tried running it and it complained about keys not being there.
Comment 3 Tomas Mraz 2008-05-12 13:00:30 UTC
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.