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

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-07 17:03:27 UTC
Type: ---
Embargoed:


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:
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.



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