Bug 27289

Summary: SSH don't do correct diagnostic when no random device available
Product: Base System Reporter: vova <vova>
Component: binAssignee: Brian Feldman <green>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   

Description vova 2001-05-12 21:30:00 UTC
  ssh complains about incorrect rsa libraries:

# ssh host
ssh: no RSA support in libssl and libcrypto.  See ssl(8).
Disabling protocol version 1
DH_generate_key
#

  ssh-keygen -d don't work

# ssh-keygen -d
Generating DSA parameter and key.
DSA_generate_keys failed
#

  sshd don't work too:

# sshd
no RSA support in libssl and libcrypto.  See ssl(8)
Disabling protocol version 1
#

  when no random device in kernel config

How-To-Repeat: 
  Build kernel without 'device random'in kernel config
  and try examples above
Comment 1 Doug Barton freebsd_committer freebsd_triage 2001-05-25 08:29:46 UTC
Responsible Changed
From-To: freebsd-bugs->green


Green is Mr. ssh
Comment 2 Brian Feldman freebsd_committer freebsd_triage 2003-07-13 05:21:27 UTC
State Changed
From-To: open->closed

"no random device" is not a valid system configuration in general, and in 
specific this case.
Comment 3 Vladimir B.Grebenschikov 2003-07-13 12:50:24 UTC
Why you are close this PR ?

It is about of quality of diagnostic messages of our software.

Or you think it is easy to understand reason of such messages:

"ssh: no RSA support in libssl and libcrypto.  See ssl(8)."

man ssl(8) gives no hints about mandatory /dev/random

-- 
Vladimir B. Grebenschikov <vova@sw.ru>
SWsoft Inc.