Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Use the ssh-key command to create, import, export, or delete SSH keys.

NetMRI provides support for outside SCP applications to use SSH keys in lieu of passwords. To manage SSH keys, use the following commands: ssh-key create, ssh-key exportssh-key delete, and ssh-key import.

Syntax

The following is the command syntax:

ssh-key [create|delete|import|export]

The following table describes the subcommands of the ssh-key command.

SubcommandDescription
create

Create SSH keys with a variety of key types and bit sizes.

After creating SSH keys, you can enable the Use SSH Keys option on the Archive Database, Scheduled Archive, and Remote Config Archive pages available under the Settings icon > Database Settings.

exportWhen enabled, the SSH public key needs to be installed on the remote SCP servers for operations to be successful. To do so, export the SSH public key from NetMRI in a variety of formats by running the ssh-key export command in the NetMRI administrative shell. In an OC environment, SSH keys are created only on the Operations Center Controller; in that case, operations that use SSH keys only run on the Controller and not on the Collectors.
importAdds the SSH public key to /home/admin/.ssh/authorized_keys.
deleteDeletes all the SSH keys from the appliance.

Example


rgrace-dev> ssh-key create


Specify the type of key to create. The possible values are 'dsa' or 'rsa' for protocol version 2.

1. dsa

2. rsa

Enter choice [2]:

Specify the number of bits in the key to create. For RSA keys, the minimum size is 768 bits and the default is 2048 bits. Generally, 2048 bits is considered sufficient. DSA keys must be exactly 1024 bits as specified by FIPS 186-2.

1. 768

2. 1024

3. 2048

4. 4096

Enter choice [3]:

Selected Options:

Key Type    : rsa

Bits        : 2048

Create SSH keys using these options? (y or n):y

Successfully created SSH keys.

  • No labels