
Installing Collectors and Hubs
46
1. Use the following commands to generate an openssh RSA key pair for the zenoss user:
mkdir $HOME/.ssh
ssh-keygen -t rsa -f $HOME/.ssh/id_rsa -P "
2. Lock down the key pair:
chmod 700 $HOME/.ssh
chmod go-rwx $HOME/.ssh/*
3. Copy the generated public key $HOME/.ssh/id_rsa.pub file to the remote machine. On the remote machine,
add the public key to the authorized_keys file in the account the user wants to log in to by using the SSH key.
a. If $HOME/.ssh does not exist on the target machine, then create it with these commands:
mkdir ~/.ssh
chmod 700 ~/.ssh
b. Add the key:
cat id_rsa.pub >> $HOME/.ssh/authorized_keys
chmod 600 $HOME/.ssh/authorized_keys
Note
You cannot use keys with a pass phrase with Resource Manager.
Kommentare zu diesen Handbüchern