To set up public-key authentication for the SSHSP, you have to do the following steps as a UID 0 user:
Create the keys by running ssh-keygen-g3 under USS. For example:
# ssh-keygen-g3 -t rsa key1
The command will create a 2048-bit RSA key, with the private-key file name key1 and public-key file name key1.pub. Enter the passphrase for the key when prompted. The key can be generated without a passphrase by giving the -P option. For more information on the ssh-keygen-g3 options, see the ssh-keygen-g3 man page.
Copy the keys to the .ssh2 directory under the SSHSP user's home directory. For example: