OpenSSH ssh-keygen and sshd won't work

Darren Tucker dtucker at
Wed Apr 20 21:03:57 EST 2005

rschubnell at wrote:
> I've Problems with my openssh installation on AIX 5.2.
> My ssh-keygen and sshd won't work.
> The Installation of AIX was proper migrated from aix4.3.3 to aix5.2
> # /usr/bin/ssh-keygen -q -t rsa -f /etc/ssh/ssh_host_rsa_key -C
> ^C ( after 10 Minutes ;-> )

Sounds like a problem with the entropy source.  AIX 5.2 has /dev/random 
and /dev/urandom, but I have seen one report about an AIX upgrade 
leaving those with incorrect permissions, I suggest you check those 
first.  They should be:

$ ls -l /dev/*rand*
crw-r--r--   1 root  system   42,  0 Jul 01 2003  /dev/random
crw-r--r--   1 root  system   42,  1 Jul 01 2003  /dev/urandom

Failing that, does "openssl rand -base64 32" also hang?

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list