How to create a prng_seed file?

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How to create a prng_seed file?
# 1  
Old 07-25-2002
How to create a prng_seed file?

Hi all,

I've just installed egd ssh zlib and ssl on a server:
$ uname -a
SunOS su214tos 5.8 Generic_108528-11 sun4d sparc SUNW,SPARCserver-1000

When i want to execute the /usr/local/sbin/sshd, i get the following:
PRNG is not seeded...

How do i seed the PRNG?


# 2  
Old 07-25-2002
I use the SSHd from and SSH handles the "randomness stuff" invisibly so I'm not sure about OpenSSH (which I assume you use?)

So here's , maybe not an exact answer to your question but maybe you'll get a hint. Smilie

I quote from my "SSH: The Secure Shell" book:

"When compiling OpenSSH on platform without /dev/random, you have a choice. If you have installed an add-on randomness source
such as the OpenSSH-recommended "Entropy Gathering Daemon" (EGD, ) you can tell OpenSSH to use it with the switch
--with-egd-pool. If you don't specify a pool, OpenSSH uses an internal entropy gathering mechanism. You can tailor which programs are run to gather entropy and "how random" they're considered to be, by editing the file /etc/ssh_prng_cmds. Also note that OpenSSH random seed is kept in the ~/.ssh/prng_seed file, even the daemon's, which is just the root user's seed file.
The --with-egd-pool switch might be what you're searching for ?

Good luck!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Create a text file and a pdf file from Linux command results.

Hello. The task : Using multiple commands like : gdisk -l $SOME_DISK >> $SOME_FILEI generate some text file. For readiness I must insert page break. When the program is finished I want to convert the final text file to a pdf file. When finished, I got two files : One text file and One pdf... (1 Reply)
Discussion started by: jcdole
1 Replies

2. Shell Programming and Scripting

Splitting a text file into smaller files with awk, how to create a different name for each new file

Hello, I have some large text files that look like, putrescine Mrv1583 01041713302D 6 5 0 0 0 0 999 V2000 2.0928 -0.2063 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0 5.6650 0.2063 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0 3.5217 ... (3 Replies)
Discussion started by: LMHmedchem
3 Replies

3. Shell Programming and Scripting

Is it possible to create 10GB file in Linux and transferring the file to other remote server

Hi folks, Is it possible to create 10GB file in linux and transferring the file to other remote server? Regards, J (3 Replies)
Discussion started by: scriptscript
3 Replies

4. Shell Programming and Scripting

How to create a log file that simply shows the name of a file and what directory it was moved to.

Newbie...Thank you for your help. I am creating my first script that simply generates subdirectories to organize video, music, and text files within those subdirectories from my current working directory. PROBLEM: I am trying to write a log file that contains, for each file, the original file... (0 Replies)
Discussion started by: BartleDoo
0 Replies

5. Shell Programming and Scripting

Create shell script to extract unique information from one file to a new file.

Hi to all, I got this content/pattern from file http.log.20110808.gz mail1 httpd: Account Notice: close 2011/8/7 7:37:36 0:00:03 0 0 1 mail1 httpd: Account Information: login proxy sid=gFp4DLm5HnU mail1 httpd: Account Notice: close (16 Replies)
Discussion started by: Mr_47
16 Replies

6. Shell Programming and Scripting

Newbie.. Find if a file exists and open, if not create the desired file..

Hey all, I'm brand new to script writing, I'm wanting to make a script that will ask for a file and then retrieve that file if it exists, and if it doesn't exist, create the file with the desired name, and I'm completely stuck.. so far.. #! bin/bash echo "Enter desired file" read "$file" if ... (5 Replies)
Discussion started by: Byrang
5 Replies

7. Shell Programming and Scripting

Read a file and search a value in another file create third file using AWK

Hi, I have two files with the format shown below. I need to read first field(value before comma) from file 1 and search for a record in file 2 that has the same value in the field "KEY=" and write the complete record of file 2 with corresponding field 2 of the first file in to result file. ... (11 Replies)
Discussion started by: King Kalyan
11 Replies

8. UNIX for Advanced & Expert Users

file //.ssh/prng_seed is not a regular file

Hi all... On all of my solaris servers (5.5.1,5.6,5.7,5.8 and one 5.9) i get this error message: sshd: fatal: PRNG seedfile //.ssh/prng_seed is not a regular file... Knowing that i have no way to recompile correctly the sources, how can i fix this problem? I'm using openssh, openssl, and... (3 Replies)
Discussion started by: penguin-friend
3 Replies

9. UNIX for Advanced & Expert Users

SSH and file prng_seed

I need some help... What use is there to the file prng_seed under Solaris? (2 Replies)
Discussion started by: penguin-friend
2 Replies
Login or Register to Ask a Question