By printing a help message, with -h or
-?. Most Unix shells require you to escape the
question mark, to prevent the shell from interpreting it as a
wildcard.
$ ssh-keygen2 -h
$ ssh-keygen2 -\? Escaping the question mark
An OpenSSH "private" key file actually contains both the
public and private keys of a pair, so the -x and
-y options simply extract the public key and print
it out in the desired format. Use -x to add an
OpenSSH public key to your ~/.ssh2/authorization
file on an SSH2 server host and -X to do the
opposite. The -y option is useful if you
accidentally delete your OpenSSH public key file and need to restore
it.
A function that's missing is converting the
private keys as well. This is useful if you have
an OpenSSH server host on which you also want to also run SSH2, and
you want the two SSH servers to share a host key.