Command-Line Client Setup and Testing
All the previous examples in this chapter have demonstrated how to perform management actions via the GUI. It is worth noting that Key Manager management actions can also be performed via the Key Manager command-line client.
The command-line client can be used for performing Key Manager management actions as terminal commands, which allows you to automate or tie management actions into other processes. Also, the command-line client offers a more natural interface for Unix administrators who are more accustomed to performing tasks from a command line, and who prefer to script workflows.
As a root user, create a symbolic link for ssh-mgr-cli, so that you do not need to type the full path every time you want to use the command-line client:
# ln -s /opt/sshmgr/bin/ssh-mgr-client /usr/bin/ssh-mgr-client
The user sshmgr was automatically created during the installation process. Change to user sshmgr:
# su sshmgr
You are now ready to use the commands-line client. For examples about using the command-line client, see Command-Line Client Usage Examples.