#r1key
back to Linux Agent CLI - Tools
#r1key is designed to manage the Keys of the CDP Servers that the CDP Agent is aware of. The #r1key command line utility is used to manage the Agent RSA Public Keys without having to cut and paste. The command line options are described below.
Options
There are five (5) options for the r1key tool.
- -v (or --version ) - Prints version and exit.
- -a URL (or --add URL ) - Adds Key for CDP Server specified with the URL of the CDP Server. r1key will connect to your server using either HTTP or HTTPS protocols to download the CDP Server as a Public RSA authentication Key.
- -r KEY (or --remove KEY) - Removes the configured Key for the CDP Server specified with "KEY" from the /etc/buagent/server.allow directory. "KEY" is the IP address or URL of the CDP Server.
- -l (or --list ) - Lists installed CDP Server Keys.
- -? (or --help ) - Displays the list of options with descriptions.
To see all of the options the r1key supports, run the tool without options as follows:
[root@r1buagent ~]# r1key
Return:
Usage: r1key -? | -v | -a URL | -r KEY
Options:
-?, --help Show this help message
-v, --version Show version information
Actions:
-a, --add Add key for CDP Server.
-r, --remove Remove key for CDP Server.
-l, --list List installed CDP Server keys.
Examples:
Add Key:
r1key -a http://cdpserver.r1soft.com
r1key -a https://cdpserver.r1soft.com
r1key -a http://cdpserver.r1soft.com:8080
r1key -a cdpserver.r1soft.com
r1key -a 192.168.231.11
Remove Key:
r1key -r http://cdpserver.r1soft.com
r1key -r https://cdpserver.r1soft.com
r1key -r http://cdpserver.r1soft.com:8080
r1key -r cdpserver.r1soft.com
r1key -r 192.168.231.11

Directory of CDP Server authentication Keys:
/etc/buagent/server.allow
| Note Key files must be named with the IP address of the CDP Server and contain a valid RSA Public Key. |
Labels:
None