HP-UX AAA Server A.08.00.01 Administrator's Guide
2. To create the ssh directory, enter the following command at the HP-UX prompt:
# mkdir ~/.ssh
3. Change the permissions of the directory as follows:
# chmod 700 ~/.ssh
4. Change to the ssh directory as follows:
# cd ~/.ssh
5. To create the SSH key pair, complete the following steps:
1. Enter the following command at the HP-UX prompt:
# ssh-keygen -t rsa
The SSH key pair is created.
2. Enter the file in which you want to save the key. Click Enter to select the
default path (<your_local_home>/.ssh/id_rsa).
3. Enter the passphrase. If you do not want a passphrase, click Enter.
The identification is saved in (<your_local_home>/.ssh/id_rsa) if the
default path is selected.
The public key is saved in (<your_local_home>/.ssh/id_rsa.pub) if
the default path is selected.
Sharing the Public key with Remote Hosts
To share the public key with the user account configured to start the RMI Server on
the remote host from the local host where HP-UX Server Manager GUI is running,
complete the following steps:
1. To transfer the public key to the remote system, enter the following command at
the HP-UX prompt:
# scp <public key path> <user>@<remoteserver>:/<desired path>
NOTE: Replace public key path with the file path where the public key is saved.
Replace user with the name of the user who starts the RMI server on the
corresponding host.
Replace remoteserver with the name of the remote server where RMI server is
running.
Replace desired path with the path on the remote server where you want to copy
the public key.
2. To log in to the remote system, enter the following command at the HP-UX prompt:
# ssh <user>@<remote server>
94 Managing HP-UX AAA Servers