Use -t parameter to set key type

In Solaris, the "-t" parameter for ssh-keygen is mandatory.
Added to make this library compatible with Solaris.
The parameter also exists in any unix/linux environment, so it is backwards compatible.