RE: SSH / SSH-KEYGEN / PRNGD SEED
Arndt.WA_at_forces.gc.ca
Date: 01/22/04
- Previous message: Dominik Schleich: "Re: Disable ssh login + enable scp for specific users."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: Anthony.Vaccaro@astrazeneca.com Date: Thu, 22 Jan 2004 08:40:38 -0500
Comments/suggestions inline below...
<snip>
> > # ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N ""
> > PRNG is not seeded
> >
> > # ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N ""
> > PRNG is not seeded
> >
> > # ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N ""
> >
> > PRNG is not seeded
> > At this point I downloaded the prngd-0.9.25-sol8-sparc-local.gz and
> > installed it.
> > Still the problem persists.
> > Could you advise me what I am doing wrong .
Tony,
I suspect you forgot to create "seed file" for the prngd to use.
Try the following: (NOTE: paths below assume that you installed
prngd in the default location.
i. prngd requires some data to initialize with (known as a seed).
Create a seed file by performing the following commands:
cat /var/adm/messages > /usr/local/etc/prngd/prngd-seed
cat /var/adm/wtmpx >> /usr/local/etc/prngd/prngd-seed
ii. Create a directory in /var/spool for prngd to use
mkdir /var/spool/prngd
iii. Start prngd
/usr/local/sbin/prngd /var/spool/prngd/pool
iv. If prngd has started properly, it will be generating entropy.
Check this by running the following command:
/usr/local/bin/egc.pl /var/spool/prngd/pool get
NOTE - You'll need PERL installed and you'll also need to get the
precompiled binary for Solaris of the egd for step iv to work.
Install it with the following command:
pkgadd -d egd*local
ADDITONAL NOTE: If egd is installed properly, the output from the
command in step iv should look something like this:
32800 bits of entropy in pool
> > Regards,
> > Tony
Hope this helps,
Alex
- Previous message: Dominik Schleich: "Re: Disable ssh login + enable scp for specific users."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|