Bug 445547 - sshd install doesn't setup keys
Summary: sshd install doesn't setup keys
Alias: None
Product: Fedora
Classification: Fedora
Component: openssh
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2008-05-07 15:00 UTC by David Wilson
Modified: 2008-05-12 13:00 UTC (History)
0 users

Clone Of:
Last Closed: 2008-05-07 17:03:27 UTC

Attachments (Terms of Use)

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:

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.

Note You need to log in before you can comment on or make changes to this bug.