automating ssh-keygen

Doug Lochart dlochart at
Tue Apr 18 03:33:41 EST 2006

I am trying to automate ssh-keygen creating keys without a passphrase.
 How can I run a script that calls ssh-keygen so that it does NOT
require a passphrase?  When I was testing on the command line I
created a file that contained 2 line feeds and piped it into stdin.  I
got a message mentioning that ssh-askpass could not be found and it
completed.  I did not try the keys but I would like to be able to
generate them without any error messages.  Is this possible?


What profits a man if he gains the whole world yet loses his soul?

More information about the openssh-unix-dev mailing list