Public Key generation

How do I generate a plublic key for a user in mikrotik. I see a bunch of help topics about importing them but I could not find any for making one. I need to ssh from one mikrotik to another in a script to execute a read command.

Thanks for all the help in advance.

you need some linux box.
here is how to make a key: http://wiki.mikrotik.com/wiki/Use_SSH_to_execute_commands_(DSA_key_login)
also here: http://www.mikrotik.com/testdocs/ros/3.0/admin/ssh.php

for windows there is puttygen: http://the.earth.li/~sgtatham/putty/latest/x86/puttygen.exe