Administration Guide › Log Storage › Configuring Non-Interactive Authentication for Restore › Example: Configure Authentication From Remote Storage to a Restore Point › Prepare the Public Key File for Use
Prepare the Public Key File for Use
You create the .ssh directory on the restore point server and set ownership to caelmservice. Then, you copy authorized_keys from the /tmp directory to the .ssh directory. Last, you set ownership and permissions on the public key file.
To prepare the public key on the restore point server for non-interactive authentication
- Log into the restore point CA User Activity Reporting Module server through ssh as caelmadmin.
- Switch users to root.
- Change directories to the CA Enterprise Log Manager directory.
cd /opt/CA/LogManager
- Create the .ssh directory:
mkdir .ssh
- Change the ownership of .ssh to the caelmservice user and group:
chown caelmservice:caelmservice .ssh
- Change directories to /opt/CA/LogManager/.ssh.
- Copy the authorized_keys file from /tmp to .ssh:
cp /tmp/authorized_keys .
- Change ownership of the authorized_keys file to caelmservice:
chown caelmservice:caelmservice authorized_keys
- Change permissions on the authorized_keys file:
chmod 755 authorized_keys
Copyright © 2013 CA.
All rights reserved.
|
|