Bug 21339

Summary: ssh-keygen: not found
Product: Base System Reporter: kaz <kaz>
Component: confAssignee: Brian Feldman <green>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-RELEASE   
Hardware: Any   
OS: Any   

Description kaz 2000-09-18 04:30:01 UTC
	The boot time message is:

Starting final network daemons: nfsiod NFS access cache time=2 rwhod creating ss
h RSA host key
/etc/rc: /usr/bin/ssh-keygen: not found
 creating ssh DSA host key
/etc/rc: /usr/bin/ssh-keygen: not found

Fix: 

May be set /etc/rc.conf: to sshd_enable="NO"
How-To-Repeat: 
	Do only boot.
Comment 1 Johan Karlsson freebsd_committer freebsd_triage 2000-10-06 18:37:14 UTC
Responsible Changed
From-To: freebsd-bugs->kris

Over to SSH maintainer who can explain what the problem 
and solution is.
Comment 2 kris 2000-10-07 04:06:44 UTC
Nakamura-san,

Did you install the "crypto" distribution in sysinstall (if you
installed via sysinstall), or by choosing the following cvsup
collections (if you upgraded via source using cvsup):

src-crypto
src-secure

After 'make world' you should have the /usr/bin/ssh* binaries needed
to use SSH.

Kris
Comment 3 jeff 2000-10-24 07:24:23 UTC
I had similar problems -- with 2.x and 3.x installs, there was a always a
question as to how much of the crypto installation to require.  With the
adpotion of ssh as an integral portion of the code ("enabled by default"),
I would say that it is reasonable to expect that it would be *installed*
by default as well.

I did carefully go through a "Novice" install again this evening, and
confirmed that the crypto option was well hidden from all but the most
knowing eyes.  Also, sysinstall cannot seem to be used to install it
later.

I suggest that it be installed by default in all of the
"normal" configurations.  If it is not being installed in the
"minimal" install, it should not be called from rc.conf as modified by
sysinstall.

Thanks for your time!

Jeff



---------- Forwarded message ----------
Date: Mon, 23 Oct 2000 19:48:08 -0700 (PDT)
From: Jeff Kletsky <jeff@spotlife.com>
To: freebsd-questions@freebsd.org
Subject: 4.1.1-RELEASE -- missing /usr/bin/ssh_keygen (and more)

Installing 4.1.1-RELEASE from CD or FTP seems to want to set up ssh (which
is good), but it does not install the required binaries.

jeff@kanga21:/usr/tmp/4.1.1R/bin$ cat bin.?? | tar -tpzf - | fgrep ssh
etc/ssh/
etc/ssh/ssh_config
etc/ssh/sshd_config
usr/lib/pam_ssh.so


http://www.freebsd.org/releases/4.1.1R/notes.html
indicates that this is the case

"sshd now enabled by default on new installs."

However, there is nothing about the missing binaries in the errata...

Have I just installed FreeBSD too many times and missed something in the
install screens?  (I always go for X-Developer option)

If I run /stand/sysinstall, I can try to go to "Configure" and
"Distributions" -- select crypto -- but nothing happens.  They *are* in
the crypto distribution:

jeff@kanga21:/usr/tmp/4.1.1R/crypto$ cat *.?? | tar -tpzf - | fgrep ssh
usr/bin/ssh
usr/bin/ssh-add
usr/bin/ssh-agent
usr/bin/ssh-keygen
usr/sbin/sshd
usr/share/man/man1/ssh.1.gz
usr/share/man/man1/ssh-add.1.gz
usr/share/man/man1/ssh-agent.1.gz
usr/share/man/man1/ssh-keygen.1.gz
usr/share/man/man8/sshd.8.gz


So it seems that it well may be "pilot error" 

make world -- fixes the problem (which I almost always do) -- but is there
an easier solution -- and can it be better integrates with sysinstall??

Thanks!

Jeff

-----

Jeffrey Marc Kletsky

SpotLife | Personal Broadcasting

Sr. Product Manager           jeff@spotlife.com
Comment 4 Kris Kennaway freebsd_committer freebsd_triage 2000-11-13 02:29:08 UTC
Responsible Changed
From-To: kris->green

Green is taking over OpenSSH
Comment 5 Brian Feldman freebsd_committer freebsd_triage 2001-02-19 21:44:55 UTC
State Changed
From-To: open->closed

Seems to be working fine.  Thanks!