Generate Public Key when the server is not ssh enabled

I am writing a script that needs to access various servers some of which are not ssh enabled. In order to access the ssh enabled servers I am using the following command to generate the public key :
ssh-keygen -t rsa

Is there a similar command for the other servers as well.
If I try to use this command on the servers that aren't ssh enabled I am getting the following error :
Couldn't connect to PRNGD socket "/var/spool/prngd/pool": Permission denied. couldn't read entropy commands file /usr/local/etc/ssh_prng_cmds: No such file or directory. ssh-rand-helper child produced insufficient data

Please advice.

Bumping up posts or double posting is not permitted in these forums.

Please read the rules, which you agreed to when you registered, if you have not already done so.

You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future

Thank You.

Proceed here:

http://www.unix.com/unix-advanced-expert-users/115907-generate-public-key-non-ssh-enabled-servers.html\#post302340192

The UNIX and Linux Forums.