Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1116 - sshd init script bugs
Summary: sshd init script bugs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-13 07:43 UTC by Chad Huneycutt (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chad Huneycutt (RETIRED) gentoo-dev 2002-03-13 07:43:00 UTC
all calls to ssh-keygen need "-t rsa".  This was reported by a friend of mine,
and I haven't checked it for sure.  Although, I can attest to the init script
throwing out errors upon startup the first time.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-03-13 13:23:00 UTC
Works fine here.
Comment 2 Chad Huneycutt (RETIRED) gentoo-dev 2002-03-13 13:25:38 UTC
The init script works fine if you remove your host keys and run it?  This bug
shows up on a brand new installation, the very first time the script is run.
Comment 3 Michael Thompson 2002-03-13 16:20:17 UTC
I reported this in bug #1024 and attached a patch.  When generating the v1 
host key, you need -t rsa1.  When generating the v2 keys, you need -t rsa and 
-t dsa.  I left the -t dsa out because -d is equivalent.  However, upon 
reflection, it is probably best to specify -t dsa as it is clearer to the 
reader of the script, and -d is not in the ssh-keygen manpage.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-03-15 02:21:11 UTC
Yep, merged it on my work box (one im typing now) yesterday, and all three
keys generated fine.  Except if it is a silent failure.
Comment 5 Bruce A. Locke (RETIRED) gentoo-dev 2002-03-15 21:48:47 UTC
I saw this today while doing an 'emerge system' on a new install.  adding -t
dsa1 appears to the correct answer.

I updated the rc scripts to match this.