On the Master Server, copy the private key file, ~/.ssh/id_rsa, to a secure media.
% cp /User-hone/.ssh/id_rsa path_to_file/ |
User-home is the home directory of the currently logged in user on the Master Server machine and path_to_file/ is the path to the secure media where you want to save the private key file.
Delete the private key file from the local file system.
% rm /User-home/.ssh/id_rsa |
Copy the public key to each Local Distributor and Remote Agent that you want to set up to use SSH. Save the key in the ~/.ssh/authorized_keys2 file.
% cp /User-home.ssh/id_rsa.pub /User-home-APP/.ssh/authorized_keys2 |
User-home is the home directory on the Master Server machine and User-home-APP is the home directory of the currently logged in user on the Local Distributor or the Remote Agent machine.
Ensure that the .ssh/ directory and any parent directories are not world writable.
Change the permissions for the .ssh/authorized_keys2 file to 600.
Add the following line to the config.properties files on the Master Server and the Local Distributors to enable ssh-agent forwarding.
net.ssh.args=-o|BatchMode yes|-A |