On the Master Server, or, if you are using empty passwords and generating key pairs for each connection, on the machine that is upstream, generate the keys.
% ssh-keygen –t rsa |
The system prompts you for a password.
Determine whether you need to supply a password.
If you are using empty password keys, do not supply a password. Press Return to continue.
If you are using the ssh-agent, supply a password for the keys.
The system prompts you to save the keys.
Save the keys in the default locations by pressing Return.
The private key is saved in /User-home/.ssh/id_rsa. The public key is saved in /HOME/.ssh/id_rsa.pub.
User-home is the home directory of the currently logged in user on the Master Server machine.